summaryrefslogtreecommitdiff
path: root/1922/CH4/EX4.19/4_19.sce
blob: d2df1d9dd2e16050248eed0f69ba9c573bbe8f15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
clc
clear
//Initialization of variables
w=0.3448
R=8.3143
Tc=647.3
//calculations
disp("From charts of entropy")
h0=0.57
h1=0.05
h2=h0+w*h1
h3=h2*R*Tc
dh=-h3
//results
printf("Enthalpy departure = %d kJ/kmol",dh)
disp("The answer is a bit different due to rounding off error in the textbook")