summaryrefslogtreecommitdiff
path: root/3751/CH2/EX2.21/Ex2_21.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3751/CH2/EX2.21/Ex2_21.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3751/CH2/EX2.21/Ex2_21.sce')
-rw-r--r--3751/CH2/EX2.21/Ex2_21.sce39
1 files changed, 39 insertions, 0 deletions
diff --git a/3751/CH2/EX2.21/Ex2_21.sce b/3751/CH2/EX2.21/Ex2_21.sce
new file mode 100644
index 000000000..b868145d7
--- /dev/null
+++ b/3751/CH2/EX2.21/Ex2_21.sce
@@ -0,0 +1,39 @@
+//Fluid system - By - Shiv Kumar
+//Chapter 2 - Impact of Jet
+//Example 2.21
+ clc
+ clear
+//Given Data:-
+ Vi=30; //velocity of Jet at Inlet of, m/s
+ u=15; //Velocity of Vane, m/s
+ ui=u;
+ uo=u;
+ alpha_i=32; //Angle of Jet at Inlet, degrees
+ alpha=125; //Angle made by Jet at Outlet with direction fo motion of Vanes, degrees
+ alpha_o=180-alpha; //degrees
+
+//Data Used:-
+ g=9.81; //Acceleration due to gravity, m/s^2
+ rho=1000; //Density of water, kg/m^3
+
+//Computations:-
+ Vwi=Vi*cosd(alpha_i); //m/s
+ Vfi=Vi*sind(alpha_i); //m/s
+ Vrwi=Vwi-ui; //m/s
+ beta_i=atand(Vfi/Vrwi); //degrees
+ Vri=Vfi/sind(beta_i); //m/s
+ Vro=Vri;
+ beta_o=alpha_o-asind(uo*sind(180-alpha_o)/Vro); //degrees
+
+ Vrwo=Vri*cosd(beta_o); //m/s
+ Vwo=Vrwo-uo; //m/s
+
+ //(a)
+ W=(Vwi+Vwo)*u/g; //N-m/N (Answer in textbook is wrong due to wrong value of Vwi used)
+ //(b)Work done by Jet per second, W
+ eta=2*(Vwi+Vwo)*u/(Vi^2)*100; //In percentage
+
+//Results:-
+ printf("(a)Work done per unit weight of water=%.2f N-m/N \n", W) //The answer provided in the textbook is wrong
+ printf("(b)Efficiency of the vane, eta=%.2f percent", eta) //The answer provided in the textbook is wrong
+