In: Mechanical Engineering
3) Derive the matrix equation used to solve for the coefficients for least-squares polynomial regression for a quadratic model.
4) Derive the matrix equation used to solve for the coefficients for least-squares multiple linear regression for a function of 2 variables.