diff options
Diffstat (limited to '2510/CH5/EX5.2/Ex5_2.sce')
-rwxr-xr-x | 2510/CH5/EX5.2/Ex5_2.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/2510/CH5/EX5.2/Ex5_2.sce b/2510/CH5/EX5.2/Ex5_2.sce new file mode 100755 index 000000000..64bfcac93 --- /dev/null +++ b/2510/CH5/EX5.2/Ex5_2.sce @@ -0,0 +1,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) |