summaryrefslogtreecommitdiff
path: root/1943/CH10/EX10.16/Ex10_16.sce
diff options
context:
space:
mode:
Diffstat (limited to '1943/CH10/EX10.16/Ex10_16.sce')
-rwxr-xr-x1943/CH10/EX10.16/Ex10_16.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/1943/CH10/EX10.16/Ex10_16.sce b/1943/CH10/EX10.16/Ex10_16.sce
new file mode 100755
index 000000000..cb34ba104
--- /dev/null
+++ b/1943/CH10/EX10.16/Ex10_16.sce
@@ -0,0 +1,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)