blob: 60e626f9ad0056e5d4f7291e8b107b0dc6a19e09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
clc
//initialisation of variables
p2=1.5 //pressure in bar
p1=1 //pressure in bar
v=0.05 //volume in m*m*m
g=1.4
r=1.4
n=120 //number of cycles
//CALCULATIONS
wa=v*(p2-p1)*100
wi=3.5*100*p1*v*(((p2/p1)^((r-1)/r))-1)
reff=wi/wa
vo=v/4
pr=wa*n/60
//RESULTS
printf('roots efficiency is %2f',reff)
printf('\nvolume of air is %2fm*m*m/cycle',vo)
printf('\npower required is %2fkw',pr)
|