curve fit using data temp pressure
Objective: clear allclose allclc% Preoaring the datacp_data = load(\'data\');temperature= cp_data(:,1);cp= cp_data(:,2); % curve fit % cp = a*T^2 + b*T + cco_effs=polyfit(temperature,cp,2);predicted_cp= polyval(co_effs,temperature); % compare my curve fit with the original dataplot(temperature,cp,\'linewidth\',3)xlabel(\'Temperature[K]\')ylabel(\'specific…