A simple interpolation formula.
-------------------------------
let X = the value of x at which we need the value y
let x1 = value of highest known x which is less than X
let x2 = value of lowest known x which is more than X
y(x) = y(x1) + (y(x2)-y(x1))/(x2-x1) * (x-x1)