Linear algebra · Orthogonality and least squares
Every "fit a straight line" button solves the normal equations; with readings from a nichrome wire you can do it by hand.