summaryrefslogtreecommitdiff
path: root/527/CH2/EX2.4/2_4exam.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /527/CH2/EX2.4/2_4exam.sce
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 '527/CH2/EX2.4/2_4exam.sce')
-rwxr-xr-x527/CH2/EX2.4/2_4exam.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/527/CH2/EX2.4/2_4exam.sce b/527/CH2/EX2.4/2_4exam.sce
new file mode 100755
index 000000000..aa5e76aa5
--- /dev/null
+++ b/527/CH2/EX2.4/2_4exam.sce
@@ -0,0 +1,17 @@
+//Engineering and Chemical Thermodynamics
+//Example 2.4
+//Page no :55
+
+clear ; clc
+//From steam table specific enthalpy at state1 and state2 are
+h_cap_1 = 3373.6 ; //[kJ/kg]
+h_cap_2 = 2675.5 ; //[kJ/kg]
+
+m_dot1 = 10; //[kg/s],As we are dealing with steady state
+m_dot2 = 10; //[kg/s]
+
+//Neglecting heat dissipation compared to shaft work we have
+// m_dot1*h_cap_1 - m_dot2*h_cap_2 + Ws_dot = 0
+Ws_dot = m_dot1 * (h_cap_2 - h_cap_1) ; //[kW]
+disp(" Example: 2.4 Page no : 55") ;
+printf('\n Power generated = %g kW',Ws_dot);