summaryrefslogtreecommitdiff
path: root/2471/CH8/EX8.5/Ex8_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '2471/CH8/EX8.5/Ex8_5.sce')
-rwxr-xr-x2471/CH8/EX8.5/Ex8_5.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/2471/CH8/EX8.5/Ex8_5.sce b/2471/CH8/EX8.5/Ex8_5.sce
new file mode 100755
index 000000000..3e4f70609
--- /dev/null
+++ b/2471/CH8/EX8.5/Ex8_5.sce
@@ -0,0 +1,13 @@
+clear ;
+clc;
+// Example 8.5
+printf('Example 8.5\n\n');
+printf('Page No. 232\n\n');
+
+//given
+P = 600*10^3;// Power demand of pump in W
+T = 8;// Operating time in hour per day
+red = 1.00/10^3;// off-peak reduction in Pound per 10^3 W month
+M_save = P*red;// Monthly saving Pound per month
+A_save = M_save*12;// Annual saving in Pound per year
+printf('Annual saving is %.0f Pound per year',A_save)