Linear interpolation approximates a curve between two points by a straight line.
The general equation of a line isWe substitute the points
into this equation and solve the resulting simultaneous equations to find
and
(1)
(2)
(2)-(1)
Hence
Example: Find the straight line approximation tobetween
and
and
The equation is