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 /1955/CH7/EX7.5/example5.sce | |
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 '1955/CH7/EX7.5/example5.sce')
-rwxr-xr-x | 1955/CH7/EX7.5/example5.sce | 16 |
1 files changed, 16 insertions, 0 deletions
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)
|