summaryrefslogtreecommitdiff
path: root/680/CH8/EX8.09/8_09.sce
blob: 4e6067a1036313061076fd682b63dfddfa904dc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Problem 8.09:

//initializing the variables:
Tn = 100; // in deg C
P = 101370; // in Pa
dHn = 2200; // in kJ/Kg
Tc = 370; // in deg C
T = 250; // in deg C

//calculation:
dH250 = dHn*(1 - ((T - Tn)/(Tc - Tn))^2)

printf("\n\nResult\n\n")
printf("\n the enthalpy of vaporization is %.0f kJ/kg",dH250)