Re: Hw4 q4
I don't think (y1+y2)/(x1+x2) is valid, i.e., not the best choice for the line a*x. Maybe 1/2*(y1/x1 + y2/x2) is close but is it correct?
Seems like the way to go is to get a formula for the distance function (squared distance) and then minimize it. The answer from that process differs from 1/2*(y1/x1 + y2/x2).
EDIT: Prof. Mostafa posted while I was checking that result.
|