summaryrefslogtreecommitdiff
path: root/3843/CH6/EX6.7/Ex6_7.sce
blob: e18cee86253485b5830f3da938032482432926d4 (plain)
1
2
3
4
5
6
7
8
// Example 6_7
clc;funcprot(0);
// Given data
R=53.3/778;//  Btu/lbm-°R

// Calculation
delS=R*log(2);// The entropy change in Btu/lbm-°R
printf("\nThe entropy change,delS=%0.5f Btu/lbm-°R",delS);