diff options
Diffstat (limited to '680/CH4/EX4.12')
-rwxr-xr-x | 680/CH4/EX4.12/4_12.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/680/CH4/EX4.12/4_12.sce b/680/CH4/EX4.12/4_12.sce new file mode 100755 index 000000000..5799ad350 --- /dev/null +++ b/680/CH4/EX4.12/4_12.sce @@ -0,0 +1,14 @@ +//Problem 4.12:
+
+//initializing the variables:
+r = 500000; // in gpm
+e = 0.30;
+d = 3000; // in ft
+
+//calculation:
+mdt = r*0.00378*1000/60 // in kg/sec
+delPE = mdt*9.8*d*0.3048
+P = e*delPE
+
+printf("\n\nResult\n\n")
+printf("\n actual power output is %.2E W",P)
\ No newline at end of file |