summaryrefslogtreecommitdiff
path: root/3843/CH4/EX4.19
diff options
context:
space:
mode:
Diffstat (limited to '3843/CH4/EX4.19')
-rw-r--r--3843/CH4/EX4.19/Ex4_19.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/3843/CH4/EX4.19/Ex4_19.sce b/3843/CH4/EX4.19/Ex4_19.sce
new file mode 100644
index 000000000..924f66ce7
--- /dev/null
+++ b/3843/CH4/EX4.19/Ex4_19.sce
@@ -0,0 +1,21 @@
+// Example 4_19
+clc;funcprot(0);
+// Given data
+V=300;// ft^3
+T=800;// °C
+P=500;// psia
+P_4=500;// psia
+
+// Calculation
+// (a)
+Q=0;// Btu/lbm
+m_i=0;// lbm
+// From Table C-3E,
+h_1=1412.1;// Btu/lbm
+u_f=h_1;// Btu/lbm
+// At T=1100,u_f=1406.0;T=1200,u_f=1449.2
+T_f=(((u_f-1406.0)/(1449.2-1406.0))*(1200-1100))+1100;// °F
+// (b)
+v_f=(((T_f-1100)/(1200-1100))*(1.9518-1.8271))+1.8271;// ft^3/lbm
+m_f=V/v_f;// lbm
+printf("\n(a)The temperature of steam in the tank,T_f=%4.1f°F \n(b)The mass of steam that flows into the tank,m=%3.1f lbm",T_f,m_f);