summaryrefslogtreecommitdiff
path: root/629/CH14/EX14.4/example14_4.sce
blob: aa5223e69cbd55552117ee650fb867bdb2f5e8fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clear
clc
//Example 14.4 SPEED AND DISCHARGE OF CENTRIFUGAL PUMP
N1=2133.5; //speed[rpm]
H1=90; //[m]
H2=76; //[m]
//(g.H/n.D^2)_N1=(g.H/n.D^2)_N2
N2=N1*(H2/H1)^(1/2) //[rpm]
printf("\nThe speed at which the pump should be operated = %.f rpm.\n",N2)
//(Q/n.D^3)_N1=(Q/n.D^3)_N2
Q1=0.255; //discharge[m^3/s]
Q2=Q1*N2/N1 //[m^3/s]
printf("\nThe discharge for the given conditions = %.3f m^3/s.\n",Q2)