summaryrefslogtreecommitdiff
path: root/1709/CH6/EX6.1
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1709/CH6/EX6.1
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1709/CH6/EX6.1')
-rwxr-xr-x1709/CH6/EX6.1/6_1.sce12
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)