summaryrefslogtreecommitdiff
path: root/2165/CH1/EX1.20/1_20.sce
blob: f56cd829e89c20a173377e49ba43bb0998781789 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clc
//initialisation of variables
T=200//Degree C
p=150//lb/in^2
v=12//ft^3
R=96//Lb
T1=473//F
T2=273//F
j=1400//lb
Cv=0.169//lb/in^2
v1=(R*T1)/(p*144)//ft^3
//CALCULATIONS
Fhi=(R/j)*log(v/v1)+Cv*log(T2/T1)//rank
//RESULTS
printf('The change of entropy=% f rank',Fhi)