Curve fitting
Objective: Main Code clear all close all clc %loading the data from the file cp_data = load(\'data\'); %defining the variable temperature and cp temp = cp_data(:,1); cp = cp_data(:,2); %curve fitting(linear)- cp = a*T+c coeff_lin = polyfit(temp,cp,1); predicted_cp = polyval(coeff_lin,temp); %curve fitting(linear)- cp = a*T^3+b*T^2+cT+d…