https://www.physicslens.com/appreciating-the-least-square-method-of-determining-best-fit-line/
Appreciating the least square method of determining best-fit line