summaryrefslogtreecommitdiff
path: root/1052/CH17/EX17.4/174.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1052/CH17/EX17.4/174.sce
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 '1052/CH17/EX17.4/174.sce')
-rwxr-xr-x1052/CH17/EX17.4/174.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/1052/CH17/EX17.4/174.sce b/1052/CH17/EX17.4/174.sce
new file mode 100755
index 000000000..4a1708b39
--- /dev/null
+++ b/1052/CH17/EX17.4/174.sce
@@ -0,0 +1,15 @@
+clc;
+//Example 17.4
+//page no 208
+printf(" Example 17.4 page no 208\n\n");
+//a pump is in process
+//given: parabolic pump pressure flow
+//P=a-b*q^2 equation
+//a and b calculate from conditions
+a=25
+b=5
+//then equation becomes P=25-5*q^2
+//pressure at 1m^3/s flow rate
+q=1//flow rate,m^3/s
+P=a-b*q^2//pressure
+printf("\n pressure P=%f kpa",P);