diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3843/CH4/EX4.19/Ex4_19.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3843/CH4/EX4.19/Ex4_19.sce')
-rw-r--r-- | 3843/CH4/EX4.19/Ex4_19.sce | 21 |
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);
|