summaryrefslogtreecommitdiff
path: root/1286/CH9/EX9.17/9_17.sce
blob: 6f357cdda67aeed09de7d7489f0aab94b016fbac (plain)
1
2
3
4
5
6
7
8
9
10
11
clc
//initialisation of variables
m1=1//gm
m2=28
cv=0.18
T2=373//k
T1=323//k
//CALCULATIONS
ds=m1*cv*log(T2/T1)/m2
//results
printf(' change in entropy = % 1f cal/k',ds)