Curve fitting
Objective: 1. Curve fitting using first order polynomial is underfit and std deviation is 25.999 Curve fitting using third order polynomial is overfit and std deviation is 5.4277 2. Curve fitting using combination of first order and third order polynomial gives better results with least std deviation of 1.8522 For first 1500 values,…