summaryrefslogtreecommitdiff
path: root/2141/CH5/EX5.10/Ex5_10.sce
diff options
context:
space:
mode:
Diffstat (limited to '2141/CH5/EX5.10/Ex5_10.sce')
-rwxr-xr-x2141/CH5/EX5.10/Ex5_10.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/2141/CH5/EX5.10/Ex5_10.sce b/2141/CH5/EX5.10/Ex5_10.sce
new file mode 100755
index 000000000..6807ee367
--- /dev/null
+++ b/2141/CH5/EX5.10/Ex5_10.sce
@@ -0,0 +1,20 @@
+
+clc
+//initialisation of variables
+V=10 //ft^3
+T=600//F
+v=200 //lbf/in^2
+Sv=50 //lbf/in^2
+p=200 //lbf/in^2
+v1=8.515 //ft^3/lbm
+m1=V/v1//lbm
+hi=1322.1 //Btu/lbm
+u1=1095.3 //Btu/lbm
+m2=3.05 //lbm
+u2=V/m2 //ft^3/lbm
+he=1234.8 //Btu/lbm
+//CALCULATIONS
+m3=m1*(hi-u1)/(hi-he) //lbm
+M=m2-m1 //lbm
+//RESULTS
+printf('The mass of steam that flows into the tank=% f lbm',M)