diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /51/CH5/EX5.25 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '51/CH5/EX5.25')
-rwxr-xr-x | 51/CH5/EX5.25/5_25.sce | 17 | ||||
-rwxr-xr-x | 51/CH5/EX5.25/5_25graph.jpg | bin | 0 -> 25316 bytes |
2 files changed, 17 insertions, 0 deletions
diff --git a/51/CH5/EX5.25/5_25.sce b/51/CH5/EX5.25/5_25.sce new file mode 100755 index 000000000..2611bd657 --- /dev/null +++ b/51/CH5/EX5.25/5_25.sce @@ -0,0 +1,17 @@ +clc;
+clear;
+p=10;//hp
+z=30;//ft
+hl=15;//ft
+//energy equation
+//hs=Wshaftin/(sw*Q) = hl+z
+Q=(p*550)/((hl+z)*62.4);
+wloss=62.4*Q*hl/550;
+disp("ft^3/s",Q,"Flowrate =")
+disp("hp",wloss,"Power loss=")
+loss=0:25;
+for i=0:25
+ q(i+1)=(p*550)/((i+z)*62.4);
+end
+plot2d(loss,q,rect=[0,0,25,3.5])
+xtitle("Flowrate vs headloss","hs,ft","Q, ft^3/sec")
\ No newline at end of file diff --git a/51/CH5/EX5.25/5_25graph.jpg b/51/CH5/EX5.25/5_25graph.jpg Binary files differnew file mode 100755 index 000000000..681e66acf --- /dev/null +++ b/51/CH5/EX5.25/5_25graph.jpg |