summaryrefslogtreecommitdiff
path: root/2471/CH5/EX5.9
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2471/CH5/EX5.9
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2471/CH5/EX5.9')
-rwxr-xr-x2471/CH5/EX5.9/Ex5_9.sce27
1 files changed, 27 insertions, 0 deletions
diff --git a/2471/CH5/EX5.9/Ex5_9.sce b/2471/CH5/EX5.9/Ex5_9.sce
new file mode 100755
index 000000000..34f05e95f
--- /dev/null
+++ b/2471/CH5/EX5.9/Ex5_9.sce
@@ -0,0 +1,27 @@
+clear ;
+clc;
+// Example 5.9
+printf('Example 5.9\n\n');
+printf('Page No. 122\n\n');
+
+// given
+P1 = 15;// Pressure at state 1 in bar
+P2 = 1.5;// Pressure at state 2 in bar
+T1 = 198;// in degree celcius
+
+// as the process is adiabatic; => Q = 0; => ehthalpy at state1 = enthalpy at state 2
+h_1 = 2789*10^3;// specific enthalpy at state 1 in J/kg
+h_2 = h_1;//specific enthalpy at state 2 in J/kg
+
+T3 = 150;// in degree celcius
+T4 = 200;// in degree celcius
+h_3 = 2773*10^3;// specific enthalpy at state 3 in J/kg
+h_4 = 2873*10^3;// specific enthalpy at state 4 in J/kg
+
+// Assuming a liner realtionship between temperature and enthalpy for the temperature range 150-200 degree celcius
+h = ((h_4 - h_3)/(T4 - T3));// specific enthalpy per degree celcius in J/kg-degC
+t = ((h_2 - h_3)/h);// in degree celcius
+T2 = T3 + t;// in degree celcius
+printf('the temperature of the final superheated steam at 1.5 bar is %.0f deg C',T2)
+
+