blob: 0785989b87ac5c14091fd0f1689dc930f4e0f2d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
clc
//initialisation of variables
w=212 //F
Sliq=212 //F
T=80 //F
Sf=-1.4446 //Btu/lbm
Sh=1.4446 //Btu/lbm
Q=970.3 //Btu/lbm
T1=540 //F
//CALCULATIONS
DelS=Q/T1 //btu/lbm
S=Sf+DelS //Btu//lbm-R
Qsurr=T1*Sh //Btu/lbm
W=Q-Qsurr //Btu/lbm
//RESULTS
printf('The water equal to increase in entropy of the system plus surroundings=% f Btu/lbm',W)
|