blob: 405020e6d470704dbd54134a18971450fe5f908b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
clc
//initialisation of variables
s= 10 //stroke
d= 2 //in
r= 40 //cpm
P1= 80 //psi
//CALCULATIONS
V1= %pi*d^2*s*r/(4*1728)
V2= (P1+14.7)*V1/14.7
//RESULTS
printf ('air consumption in cfm of free air = %.2f cfm free air',V2)
|