1 2 3 4 5 6 7 8 9 10
clc //initialisation of variables u1=14236//ft u2=897//F p=5957//ft f=1390//ft //CALCULATIONS H=(u1-u2)+(p-f)//Btu //RESULTS printf('the constant pressure =% f Btu',H)