Please consider this as a request for some urgent help.
I have $N$ points $(x_i,y_i)$, $i = 1,2,3,...N$. I need to fit a straight line (to these points) of the form $y = mx+c$. I need a formula for calculating $m$ and $c$. I am not interested in any particular method or proof. I just need a formula. (hope fully of least squares solution).