summaryrefslogtreecommitdiff
path: root/1466/CH23/EX23.3/23_3.sce
blob: f16f871ca16316b9e925ab3424c99d8712d7eedb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15


clc
//initialisation of variables
n=400//rpm
h1=20//ft
h2=60//ft
r=4
//CALCULATIONS
n1=n*(sqrt(h2/h1))/r
p=((h2/h1)^2.5)*h1*n*n/(n1*n1)
ratio=r*r*sqrt(h2/h1)
//RESULTS
printf ('Horse power delivered = %.f r.p.m',n1)
printf ('\n ratio of quantities discharged = %.1f ',ratio)