summaryrefslogtreecommitdiff
path: root/527/CH2/EX2.2
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.2
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.2')
-rwxr-xr-x527/CH2/EX2.2/2_2exam.sce28
1 files changed, 28 insertions, 0 deletions
diff --git a/527/CH2/EX2.2/2_2exam.sce b/527/CH2/EX2.2/2_2exam.sce
new file mode 100755
index 000000000..5cbaf474d
--- /dev/null
+++ b/527/CH2/EX2.2/2_2exam.sce
@@ -0,0 +1,28 @@
+//Engineering and Chemical Thermodynamics
+//Example 2.2
+//Page no :36
+
+clear ; clc
+
+//Given data
+V2 = 14 ; // [m/s]
+u_cap_l1 = 104.86 ; //[kJ/kg],at 25*C internal energy of saturated water
+u_cap_l_t25 = 104.86 ; //[kJ/kg], From steam table
+u_cap_l_t30 = 125.77 ; //[kJ/kg], From steam table
+T1 = 25 ; //[*C]
+T2 = 30 ; //[*C]
+
+//For unit mass change in kinetic energy
+Delta_e_cap_k = 1/2 * V2^2 * 10^-3 ; //[kJ/kg]
+
+Delta_u_cap = Delta_e_cap_k ;
+
+//For final state of water:
+u_cap_l2 = Delta_u_cap + u_cap_l1 ;
+
+//From table
+
+x = (u_cap_l2 - u_cap_l_t25) / (u_cap_l_t30 - u_cap_l_t25) ;
+T_unknown = T1 + x*(T2 - T1) ;
+disp(" Example: 2.2 Page no : 36") ;
+printf('\n Final temperature of water = %g *C',T_unknown); \ No newline at end of file