From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2471/CH5/EX5.9/Ex5_9.sce | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 2471/CH5/EX5.9/Ex5_9.sce (limited to '2471/CH5/EX5.9') 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) + + -- cgit