summaryrefslogtreecommitdiff
path: root/2837/CH10/EX10.13
diff options
context:
space:
mode:
Diffstat (limited to '2837/CH10/EX10.13')
-rwxr-xr-x2837/CH10/EX10.13/Ex10_13.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2837/CH10/EX10.13/Ex10_13.sce b/2837/CH10/EX10.13/Ex10_13.sce
new file mode 100755
index 000000000..9dfad50f4
--- /dev/null
+++ b/2837/CH10/EX10.13/Ex10_13.sce
@@ -0,0 +1,17 @@
+clc
+clear
+//Initialization of variables
+ps=216 //psig
+pb=29.12 //in of Hg
+p2=0.4 //in
+t2=244 //F
+//calculations
+pa=0.491*pb
+pabs=pa + p2*0.491
+plb=pa+ ps
+hcal=1166.5 //Btu/lb
+h2=1200.1 //Btu/lb
+h3=831.9 //Btu/lb
+y=-(hcal-h2)/h3
+//results
+printf("Mean state in the line is %.1f psia with a moisture content of %.2f percent",plb,y*100)