Curve Fitting for Specific Heat of Oxygen
Objective: I will try to fit a curve for the Specific Heat of Oxygen vs Temperature and evaluate the Fit clear allclose allclc %input the datacp_data = load(\'data\');temp = cp_data(:,1);cp = cp_data(:,2); % curve fitcoef_cubic = polyfit(temp , cp ,3);coef_linear = polyfit(temp , cp ,1);cubic_cp = polyval(coef_cubic , temp);linear_cp…