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 --- 1052/CH22/EX22.9/229.sce | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 1052/CH22/EX22.9/229.sce (limited to '1052/CH22/EX22.9') diff --git a/1052/CH22/EX22.9/229.sce b/1052/CH22/EX22.9/229.sce new file mode 100755 index 000000000..3d5747b7d --- /dev/null +++ b/1052/CH22/EX22.9/229.sce @@ -0,0 +1,21 @@ +clc; +//Example 22.9 +//page no 305 +printf("\n Example 22.9 page no 305\n\n"); +//water is flowing from an elevated reservoir through a conduit to a turbine at a lower level and out of the turbine through a similar conduit +//refer to fig 22.2 +//since the diameter of the conduit is the same at location 1 and 2 ,kinetic energy effects can be neglected and bernoulli eq. takes the form +//P/rho + z(g/g_c) -h_s + h_f = 0 +P1=30///pressure at point 1,psia +z1=300//height of point 1,ft +P2=18//pressure at point 2,psia +z2=-10//height of point 2,ft +rho=62.4//density +m_dot=3600//mass flow rate,tons/hr +W_dot =1000//output at the shaft of turbine,hp +neta=0.9//efficiency of turbine +h_s=W_dot*550*3600/(neta*m_dot*2000)// +printf("\n h_s =%f ft.lbf/lb",h_s); +//put this value in bernoulli eq. +h_f=(P2-P1)*144/rho + (z2-z1) -h_s//frictional loss +printf("\n frictional loss h_f=%f ft.lbf/lb",h_f) -- cgit