summaryrefslogtreecommitdiff
path: root/1553/CH25/EX25.12/25Ex12.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH25/EX25.12/25Ex12.sce')
-rw-r--r--1553/CH25/EX25.12/25Ex12.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1553/CH25/EX25.12/25Ex12.sce b/1553/CH25/EX25.12/25Ex12.sce
new file mode 100644
index 000000000..3ff691bac
--- /dev/null
+++ b/1553/CH25/EX25.12/25Ex12.sce
@@ -0,0 +1,12 @@
+//Chapter 25 Ex 12
+
+clc;
+close;
+clear;
+//let the original length of edge a=1
+edge=1; inc=50/100;
+surorg=6*(edge^2);
+newedge=(1+inc)*edge;
+surnew=6*(newedge^2);
+incsurarea=((surnew-surorg)/surorg)*100;
+mprintf("The percentage increase in surface area is %d percent",incsurarea);