S.9.f: Calculate a residual using the line of best fit.