diff options
Diffstat (limited to '1280/CH9/EX9.4/9_4.sce')
-rwxr-xr-x | 1280/CH9/EX9.4/9_4.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/1280/CH9/EX9.4/9_4.sce b/1280/CH9/EX9.4/9_4.sce new file mode 100755 index 000000000..a3e339147 --- /dev/null +++ b/1280/CH9/EX9.4/9_4.sce @@ -0,0 +1,11 @@ +clc
+//initialisation of variables
+P= 1500 //psig
+V= 5 //gal
+P1= 3000 //psig
+P2= 2000 //psig
+//CALCULATIONS
+V2= V*231*(P2+14.7)/(P1-P2)
+V1= V2*(P1+14.7)/((P+14.7)*231)
+//RESULTS
+printf ('Size of accumulator = %.2f gal',V1)
|