1 2 3 4 5 6 7 8 9
clc //initialisation of variables w=5090 //Btu h=1500 //Btu //CALCULATIONS U=w-h //Btu //RESULTS printf('The tank and fluid as the system=%f Btu',U)