summaryrefslogtreecommitdiff
path: root/1553/CH24/EX24.32/24Ex32.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH24/EX24.32/24Ex32.sce')
-rw-r--r--1553/CH24/EX24.32/24Ex32.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1553/CH24/EX24.32/24Ex32.sce b/1553/CH24/EX24.32/24Ex32.sce
new file mode 100644
index 000000000..b3c70f313
--- /dev/null
+++ b/1553/CH24/EX24.32/24Ex32.sce
@@ -0,0 +1,11 @@
+//Chapter 24 Ex 32
+
+clc;
+clear;
+close;
+R=1; // assuming radius of the circle is 1.
+NR=(50/100)*R;
+OArea=(%pi)*(R^2);
+NArea=(%pi)*(NR^2);
+dec=((OArea-NArea)*100)/OArea;
+mprintf("The percentage decrease in area of circle is %d percent",dec); \ No newline at end of file