x_{1}

**x** (x_{1}< x<x_{2 }или x_{1}> x>x_{2})

x_{2}

f(x_{1})

f(x)=0.00

f(x_{2})

_{1} and x_{2}, and the values of the function f (x_{1}) and f (x_{2}) are known

Therefore, the interpolation formula has the following form:

f(x)= (f(x_{2})-f(x_{1}))/(x_{2}-x_{1})*(x-x_{1})+f(x_{1})