blob: b156dd1543faabbaf82ff6ecfd8f948d2db1aa56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
clc
clear
//Initialization of variables
rpm=60
rho=2 //slugs/ft^3
mu=3.5e-5 //lb-sec/ft^2
D=4/12 //ft
r=2 //ft
//calcualtions
V=rpm*2*%pi/60 *2
Nr=V*D*rho/mu
Cd=1.1
Fd=Cd*%pi/4 *(D)^2 *0.5*rho*V^2
T=2*Fd*r
w=rpm*2*%pi/60
hp=T*w/550
//results
printf("Horsepower required = %.2f hp",hp)
|