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 --- 1955/CH7/EX7.5/example5.sce | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 1955/CH7/EX7.5/example5.sce (limited to '1955/CH7/EX7.5/example5.sce') diff --git a/1955/CH7/EX7.5/example5.sce b/1955/CH7/EX7.5/example5.sce new file mode 100755 index 000000000..04914c6fc --- /dev/null +++ b/1955/CH7/EX7.5/example5.sce @@ -0,0 +1,16 @@ +clc +clear +//input data +Nm=1000//Speed of the model in rpm +Hm=8//Head of the model in m +Pm=30//Power of the model in kW +Hp=25//Head of the prototype in m +DmDp=1/5//The scale of the model to original + +//calculations +Np=((Hp/Hm)^(1/2))*(DmDp)*(Nm)//Speed of the prototype in rpm +Pp=(Pm)*((1/DmDp)^(5))*(Np/Nm)^(3)//Power developed by the prototype in kW +QpQm=((1/DmDp)^(3))*(Np/Nm)//Ratio of the flow rates of two pump(model and prototype) + +//output +printf('(1)Speed of prototype pump is %3.1f rpm\n(2)Power developed by the prototype pump is %3i kW\n(3)Ratio of the flow rates of two pumps is %3.4f',Np,Pp,QpQm) -- cgit