summaryrefslogtreecommitdiff
path: root/1067/CH46/EX46.03/46_03.sce
diff options
context:
space:
mode:
Diffstat (limited to '1067/CH46/EX46.03/46_03.sce')
-rwxr-xr-x1067/CH46/EX46.03/46_03.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1067/CH46/EX46.03/46_03.sce b/1067/CH46/EX46.03/46_03.sce
new file mode 100755
index 000000000..ef8bec90e
--- /dev/null
+++ b/1067/CH46/EX46.03/46_03.sce
@@ -0,0 +1,11 @@
+clear;
+clc;
+p11=80;
+p12=90;
+p21=100;
+p22=90;
+x=integrate('.1*x+20','x',p11,p12);
+y=integrate('.2*x+6','x',p21,p22);
+p=x+y;
+as=p*8760;
+mprintf("economic loading for unit 1=%dRs/hr\neconomic loading for unit 2=%dRs/hr\nannual savings=%dRs",x,y,as);