summaryrefslogtreecommitdiff
path: root/1316/CH1/EX1.1/example1_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '1316/CH1/EX1.1/example1_1.sce')
-rw-r--r--1316/CH1/EX1.1/example1_1.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1316/CH1/EX1.1/example1_1.sce b/1316/CH1/EX1.1/example1_1.sce
new file mode 100644
index 000000000..3605ee8f7
--- /dev/null
+++ b/1316/CH1/EX1.1/example1_1.sce
@@ -0,0 +1,14 @@
+//Chapter 1
+//Example 1.1
+//Page 3
+
+clear;
+clc;
+
+K=0.222;
+Qout=2;
+
+
+//Calculation of value of h at which level stabilizes
+
+printf("The level will stabilize from self regulation when Qout=Qin.Thus the value of h is %.0f ft",((Qout/K)^2)/27);