summaryrefslogtreecommitdiff
path: root/1316/CH1/EX1.1
diff options
context:
space:
mode:
Diffstat (limited to '1316/CH1/EX1.1')
-rw-r--r--1316/CH1/EX1.1/example1_1.sce14
-rw-r--r--1316/CH1/EX1.1/resultexample1_1.txt1
2 files changed, 15 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);
diff --git a/1316/CH1/EX1.1/resultexample1_1.txt b/1316/CH1/EX1.1/resultexample1_1.txt
new file mode 100644
index 000000000..4f5b054e6
--- /dev/null
+++ b/1316/CH1/EX1.1/resultexample1_1.txt
@@ -0,0 +1 @@
+The level will stabilize from self regulation when Qout=Qin.Thus the value of h is 3 ft \ No newline at end of file