write the equation of the straight line approximation