summaryrefslogtreecommitdiff
path: root/2870/CH5/EX5.12/Ex5_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '2870/CH5/EX5.12/Ex5_12.sce')
-rwxr-xr-x2870/CH5/EX5.12/Ex5_12.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/2870/CH5/EX5.12/Ex5_12.sce b/2870/CH5/EX5.12/Ex5_12.sce
new file mode 100755
index 000000000..cd01dc255
--- /dev/null
+++ b/2870/CH5/EX5.12/Ex5_12.sce
@@ -0,0 +1,20 @@
+clc;clear;
+//Example 5.12
+
+//given data
+Pi=1;
+Ti=300;
+P2=1;
+
+//from Table A-6
+hi=3051.6;
+
+//calculations
+//mass balance mi=m2
+//energy balance mi*hi= m2*u2
+//combining them we get,
+u2=hi;
+//from Table A-6
+//we know P2 and u2, so
+T2=456.1;
+disp(T2,'final temperature in tank in C')