summaryrefslogtreecommitdiff
path: root/3035/CH8/EX8.4/Ex8_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3035/CH8/EX8.4/Ex8_4.sce')
-rwxr-xr-x3035/CH8/EX8.4/Ex8_4.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3035/CH8/EX8.4/Ex8_4.sce b/3035/CH8/EX8.4/Ex8_4.sce
new file mode 100755
index 000000000..69af6b5c9
--- /dev/null
+++ b/3035/CH8/EX8.4/Ex8_4.sce
@@ -0,0 +1,13 @@
+// Variable Declaration
+Ad = 6.0*10**6 //Reservoir capacity(m^3)
+h = 150.0 //Head(m)
+n = 0.78 //Overall efficiency
+P = 25.0*10**6 //Power(Watt)
+t = 4.0 //Supply time(hour)
+
+// Calculation Section
+AX = P*75*3600*t/(736*h*n*1000) //unit(m^3)
+X_d = AX/Ad*100 //Fall in reservoir level(%)
+
+// Result Section
+printf('Percentage fall in reservoir level = %.2f percent' ,X_d)