summaryrefslogtreecommitdiff
path: root/1553/CH24/EX24.12/24Ex12.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH24/EX24.12/24Ex12.sce')
-rw-r--r--1553/CH24/EX24.12/24Ex12.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1553/CH24/EX24.12/24Ex12.sce b/1553/CH24/EX24.12/24Ex12.sce
new file mode 100644
index 000000000..06aab367a
--- /dev/null
+++ b/1553/CH24/EX24.12/24Ex12.sce
@@ -0,0 +1,11 @@
+//Chapter 24 Ex12
+
+clc;
+clear;
+close;
+side=1; //assuming side of square as 1
+area=side^2;
+nside=(1+(25/100))*side;
+narea=(nside)^2;
+increase=((narea-area)/area)*100;
+mprintf("The percentage change in area is %.2f percent",increase);