summaryrefslogtreecommitdiff
path: root/1553/CH24/EX24.7/24Ex7.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH24/EX24.7/24Ex7.sce')
-rw-r--r--1553/CH24/EX24.7/24Ex7.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1553/CH24/EX24.7/24Ex7.sce b/1553/CH24/EX24.7/24Ex7.sce
new file mode 100644
index 000000000..17ea2f41b
--- /dev/null
+++ b/1553/CH24/EX24.7/24Ex7.sce
@@ -0,0 +1,11 @@
+//Chapter 24 Ex 7
+
+clc;
+clear;
+close;
+l=110; b=65; w=2.5; cost=80;
+A1=l*b; //area of plot
+A2=(l-2*w)*(b-2*w); //area of plot excluding path
+A3=A1-A2; // area of path
+CP=A3*(cost/100);
+mprintf("The cost of gravelling the path at 80 paise per sq. metre is Rs.%d",CP); \ No newline at end of file