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 --- 527/CH2/EX2.2/2_2exam.sce | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 527/CH2/EX2.2/2_2exam.sce (limited to '527/CH2/EX2.2') 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 -- cgit