blob: c325ec1be3b5209d92c01f9552e4a15954d4890f (
plain)
1
2
3
4
5
6
7
8
9
|
clc
//Example 7.3
//calculate the force required to hold of water from a hoze
rho=998.2//Kg/m^3
q=0.01//m^3/s
v_initial=30//m/s
v_final=0//m/s
F=q*rho*(v_final-v_initial)//N
printf("The force required to hold of water from a hoze %f N",F);
|