Linear online interpolator calculator between two values

The interpolation method is a method that allows you to find intermediate values of a value from an existing discrete set of known values.

x1

x  (x1< x<xили x1> x>x2)

x2

f(x1)

f(x)=0.00

f(x2)

In this online calculator, linear interpolation is performed for the function f (x) if the value of x lies in the interval between x1 and x2, and the values of the function f (x1) and f (x2) are known

Therefore, the interpolation formula has the following form:

f(x)= (f(x2)-f(x1))/(x2-x1)*(x-x1)+f(x1)