PERFORMING CURVE FITTING USING PYTHON
Objective: QUESTION 1 ANSWER: popt: an Optimal values for the parameters so that the sum of the squares of the residuals. pcov: 2d array which contains the estimated covariance of popt. The diagonals provide the variance of the parameter estimate. QUESTION 2 ANSWER: np.array(temperature): converts the python list of temperature…