summaryrefslogtreecommitdiff
path: root/680/CH4/EX4.12
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /680/CH4/EX4.12
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '680/CH4/EX4.12')
-rwxr-xr-x680/CH4/EX4.12/4_12.sce14
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