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.10/example10.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.10/example10.sce')
-rwxr-xr-x | 1955/CH7/EX7.10/example10.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/1955/CH7/EX7.10/example10.sce b/1955/CH7/EX7.10/example10.sce new file mode 100755 index 000000000..19d32f7e5 --- /dev/null +++ b/1955/CH7/EX7.10/example10.sce @@ -0,0 +1,20 @@ +clc
+clear
+//input data
+DmDp=1/10//The model ratio to prototype
+Hm=5//The head developed by the model in m
+Hp=8.5//The head developed by the prototype in m
+Pp=8000*10^3//The power developed by the prototype in W
+Np=120//The speed of running of the prototype in rpm
+d=1000//density of the water in kg/m^3
+g=9.81//Acceleration due to gravity in m/s^2
+n0=0.85//Overall efficiency of the prototype
+
+//calculations
+Nm=((Hm/Hp)^(1/2))*(1/DmDp)*(Np)//Speed of the mpdel in rpm
+Qp=Pp/(d*g*n0*Hp)//Discharge from the prototype in m^3/s
+Qm=((DmDp)^(3))*(Nm/Np)*(Qp)//Discharge from the model in m^3/s
+Pm=((DmDp)^(5))*((Nm/Np)^(3))*(Pp)*10^-3//Power of the model in kW
+
+//output
+printf('(a)Speed of the model is %3.1f rpm\n(b)Discharge from the model is %3.3f m^3/s\n(c)Power of the model is %3.1f kW',Nm,Qm,Pm)
|