Project 1
Objective: Thermo_main clear all close all clc %Inputs R= 8.314; %Reading the data file file = fopen(\'therm.dat\',\'r\'); %Reading the first line of the file l1 =fgetl(file); %Getting the global minimum, maximum and mid temperatures l2=fgetl(file); temperatures = strsplit(l2); global_min = str2num(temperatures{2}); global_mid =…