diff options
Diffstat (limited to '797/CH1/EX1.6s')
-rw-r--r-- | 797/CH1/EX1.6s/1_06_solution.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/797/CH1/EX1.6s/1_06_solution.sce b/797/CH1/EX1.6s/1_06_solution.sce new file mode 100644 index 000000000..61bb3db58 --- /dev/null +++ b/797/CH1/EX1.6s/1_06_solution.sce @@ -0,0 +1,9 @@ +//Solution 1-06 +WD=get_absolute_file_path('1_06_solution.sce'); +datafile=WD+filesep()+'1_06_example.sci'; +clc; +exec(datafile) +Vdot = V / deltat; //volume flow rate [gal/s] +Vdot = Vdot * gal_cubicm * 60; //volume flow rate [m^3/min] +//result +printf("Volume flow rate of water = %1.1e m\^3/min", Vdot); |