blob: cfc2faa337f089291890639be30c3acdb7bb09bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
//Variable declaration:
CpM = 0.61 //Heat capacity of methanol (cal/g.°C)
G = 454 //Grams in a pound
B = 1.0/252.0 //Btu in a calorie
C = 1.0/1.8 //Degree celsius in a degree fahrenheit
//Calculation:
Cp = CpM*G*B*C //Heat capacity in English units (Btu/lb.°F)
//Result:
disp("Heat capacity in English units is: ")
disp(Cp)
disp(" Btu/lb.°F")
|