summaryrefslogtreecommitdiff
path: root/2870/CH4/EX4.2/Ex4_2.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2870/CH4/EX4.2/Ex4_2.sce
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 '2870/CH4/EX4.2/Ex4_2.sce')
-rwxr-xr-x2870/CH4/EX4.2/Ex4_2.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2870/CH4/EX4.2/Ex4_2.sce b/2870/CH4/EX4.2/Ex4_2.sce
new file mode 100755
index 000000000..e1818aaba
--- /dev/null
+++ b/2870/CH4/EX4.2/Ex4_2.sce
@@ -0,0 +1,17 @@
+clc;clear;
+//Example 4.2
+
+//given values
+m=10;
+Po=60;
+T1=320;
+T2=400;
+
+//from Table A–6E
+v1=7.4863;//at 60 psia and 320 F
+v2=8.3548;//at 60 psia and 400 F
+
+//calculations
+//W = P dV which on integrating gives W = m * P * (V2 - V1)
+W=m*Po*(v2-v1)/5.404;//coverting into Btu from psia-ft^3
+disp(W,'work done by the steam during this process in Btu')