summaryrefslogtreecommitdiff
path: root/629/CH6/EX6.4/example6_4.sce
blob: 89516873aafd426f71ccf920f89d045b3bf3c2e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
clear
clc
//Example 6.4 WATER DEFLECTED BY A VANE
r=0.0417; //[ft]
A=%pi*r^2 //area[ft^2]
v=100; //velocty[ft/s]
rho=1.94; //[slugs/ft^3]
m=rho*A*v; //mass flow rate[slugs/s]
theta=60;//degrees
//Momentum outflow vector, mo=[mo_x mo_y]
mo=[m*v*cosd(theta) -m*v*sind(theta)]
//Momentum inflow vector, mi=[mi_x mi_y]
mi=[m*v 0]
//Force vector, F=[Fx Fy] 
F=mi-mo //[lbf]
printf("\n The force exerted by the jet on the vane, F = (%.1f lbf)i+(%.1f lbf)j.\n",F(1),F(2))