summaryrefslogtreecommitdiff
path: root/3785/CH5/EX5.4/Ex5_4.sce
blob: 3683741714e703dd228ccc55b1821b12b03dc243 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Example 5_4
clc;funcprot(0);
// Given data
Q=150;// The water stream volume flow rate in gal/min
D=1;// The nozzle exit diameter in inch
rho=1*10^3;// The density of water in kg/m^3

// Calculation
Q=(Q*3.785*10^-3)/60;// The water stream volume flow rate in m^3/s
V_out=(4*Q)/(%pi*(D*2.54*10^-2)^2);// The velocity in m/s
F_e=rho*Q*V_out;// The force in N
F_e=F_e/4.448;// The force in lbf
printf("\nThe force,F_e=%2.2f lbf",F_e);