summaryrefslogtreecommitdiff
path: root/2141/CH5/EX5.6/Ex5_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '2141/CH5/EX5.6/Ex5_6.sce')
-rwxr-xr-x2141/CH5/EX5.6/Ex5_6.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/2141/CH5/EX5.6/Ex5_6.sce b/2141/CH5/EX5.6/Ex5_6.sce
new file mode 100755
index 000000000..e202555b6
--- /dev/null
+++ b/2141/CH5/EX5.6/Ex5_6.sce
@@ -0,0 +1,18 @@
+
+clc
+//initialisation of variables
+v=200 //ft/sec
+p=20 //lbf/in^2
+ve=2000 //ft/sec
+hi=1227.6 //ft/sec
+T=778//F
+t=32.17//in^2/ft^3
+hg=1156.3//fe/sec
+hf=960.1//ft
+//CALCULATIONS
+he=hi+((v)^2)/(2*t*T)-((ve)^2)/(2*t*T)//Btu/lbm
+x=1-(7.9)/960.1//percent
+X=-(he-hg)
+X1=(1-X/hf)*100//percent
+//RESULTS
+printf('the final temperature if the steam is superheated in the final state=% f percent',X1)