diff options
Diffstat (limited to '797/CH2/EX2.2.s/2_02_solution.sce')
-rw-r--r-- | 797/CH2/EX2.2.s/2_02_solution.sce | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/797/CH2/EX2.2.s/2_02_solution.sce b/797/CH2/EX2.2.s/2_02_solution.sce new file mode 100644 index 000000000..93cb6d6c8 --- /dev/null +++ b/797/CH2/EX2.2.s/2_02_solution.sce @@ -0,0 +1,6 @@ +//Solution 2-2 +WD=get_absolute_file_path('2_02_solution.sce') +datafile=WD+filesep()+'2_02_example.sci' +clc; +exec(datafile) +printf("Minimum pressure allowed in the system to avoid cavitation is %1.2f kPa", P) |