From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 51/CH5/EX5.25/5_25.sce | 17 +++++++++++++++++ 51/CH5/EX5.25/5_25graph.jpg | Bin 0 -> 25316 bytes 2 files changed, 17 insertions(+) create mode 100755 51/CH5/EX5.25/5_25.sce create mode 100755 51/CH5/EX5.25/5_25graph.jpg (limited to '51/CH5/EX5.25') 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 new file mode 100755 index 000000000..681e66acf Binary files /dev/null and b/51/CH5/EX5.25/5_25graph.jpg differ -- cgit