summaryrefslogtreecommitdiff
path: root/1943/CH10/EX10.16/Ex10_16.sce
blob: cb34ba104721137baf6aa00435b9b8b1ecf5ba26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

clc
clear
//Input data
h=19//Head in m
Q=3//Flow rate in m^3/s
N=600//Speed in rpm
h1=5//Head in m

//Calculations
N1=N/sqrt(h/h1)//Speed in rpm
Q1=Q/sqrt(h/h1)//Discharge in m^3/s

//Output
printf('Speed of the turbine is %3.1f rpm \n Maximum flow rate is %3.1f m^3/s',N1,Q1)