summaryrefslogtreecommitdiff
path: root/1955/CH8/EX8.13/example13.sce
blob: 74e62bc38a5252687f67bd3cb190996c3c548839 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
clc
clear
//input data
N=2875//Speed of the pump in rpm 
Q=57.2/3600//Discharge of the pump in m^3/s
Hm=42.1//Total head developed by the pump in m
d=1000//Density of the water in kg/m^3
g=9.81//Acceleration due to gravity in m/s^2
n=0.76//Efficiency of the pump

//calculations
Ns=(N*Q^(1/2))/(Hm^(3/4))//Specific speed of the pump 
P=((d*g*Q*Hm)/n)*10^-3//Power input in kW

//calculations
printf('(a)Specific speed of the pump is %3.f\n(b)Power input is %3.3f kW',Ns,P)