summaryrefslogtreecommitdiff
path: root/2510/CH5/EX5.2/Ex5_2.sce
blob: 64bfcac93787f66f8120d3b1ec070b4a6b925750 (plain)
1
2
3
4
5
6
7
8
9
10
//Variable declaration:
qi = 3500                       //Initial volumetric flow rate of gas (acfm)
Pi = 1.0                        //Iitial pressure (atm)
Pf = 3.0                        //Final pressure (atm)

//Calculation:
qf = qi*(Pi/Pf)                 //Final volumetric flow rate of gas (acfm)

//Result:
printf("The volumetric flow rate of the gas (100°F, 1 atm) is: %.0f acfm",qf)