blob: 772a5acc7cb721798321db593dc2e34521d27492 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
clc
//Initialization of variables
L=50
Fm=0.02 //N
Vm=1 //m/s
//calculations
Fp=L^3 *Fm
Fp=Fp*0.2248
Vp=sqrt(L) *Vm
Vp=Vp*3.28
Hp=Fp*Vp/550
//results
printf("Required horsepower = %.1f hp",Hp)
|