summaryrefslogtreecommitdiff
path: root/1553/CH22/EX22.7/22Ex7.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH22/EX22.7/22Ex7.sce')
-rw-r--r--1553/CH22/EX22.7/22Ex7.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1553/CH22/EX22.7/22Ex7.sce b/1553/CH22/EX22.7/22Ex7.sce
new file mode 100644
index 000000000..636dbfb6c
--- /dev/null
+++ b/1553/CH22/EX22.7/22Ex7.sce
@@ -0,0 +1,9 @@
+//chapter 22 Ex 6
+
+clc;
+clear;
+close;
+p=500; amt=583.20; t=2;
+
+rate=(nthroot((amt/p),t)-1)*100;
+mprintf("The rate of interest is %d percent",rate);