diff options
Diffstat (limited to '1709/CH6/EX6.1')
-rwxr-xr-x | 1709/CH6/EX6.1/6_1.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/1709/CH6/EX6.1/6_1.sce b/1709/CH6/EX6.1/6_1.sce new file mode 100755 index 000000000..f2972f2b2 --- /dev/null +++ b/1709/CH6/EX6.1/6_1.sce @@ -0,0 +1,12 @@ +clc
+//Initialization of variables
+m=5 //lbm
+P=50 //psia
+T=500 + 460 //R
+//calculations
+disp("From saturated steam tables,")
+s1=0.4110 //B/lbm R
+s2=1.7887 //B/lbm R
+dS=m*(s2-s1)
+//results
+printf("Change in entropy = %.3f B/R",dS)
|