blob: 119022edee83de7336aa3a4293555531513ffc57 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
clc
clear
//Initialization of variables
D=0.0724 //ft
gc=32.2 //ft/s^2
rho=1/14
L=100 //ft
mu2=1.46*10^(-10)
dp=2.32
dia=5 //in
rho2=48500
vol=14 //ft^3/lbm
//calculations
ref=D^3 *2*dp*gc*rho/(mu2*L)
mf=rho2*%pi/4 *(dia/12) *sqrt(mu2)
mfr=mf*vol*60
//results
printf("Mass rate of air flow = %d cfm",mfr)
disp("The answer is a bit different due to rounding off error in textbook")
|