summaryrefslogtreecommitdiff
path: root/2519/CH5/EX5.3/Ex5_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '2519/CH5/EX5.3/Ex5_3.sce')
-rwxr-xr-x2519/CH5/EX5.3/Ex5_3.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/2519/CH5/EX5.3/Ex5_3.sce b/2519/CH5/EX5.3/Ex5_3.sce
new file mode 100755
index 000000000..166276ebd
--- /dev/null
+++ b/2519/CH5/EX5.3/Ex5_3.sce
@@ -0,0 +1,13 @@
+clc
+clear
+//Initialization of variables
+P=100 //psia
+//calculations
+disp("From table B-4")
+h=1187.2 //Btu/lbm
+t1=328 //F
+t2=540 //F
+dt=t2-t1
+//results
+printf("Final temperature of the steam = %d F",t2)
+printf("\n Change in temperature = %d F",dt)