Curve fitting with octave
Objective: PART-1 Code to fit linear and cubic polynomial for Cp data %Fitting a linear and a cubic polynomial for the Cp data %loading our data file in our program cp_data = load(\'data\'); temperature = cp_data(:,1); sps_heat_const_p = cp_data(:,2); i=[1,3]; % making varible i which holds two values 1 & 3 which denote order…