summaryrefslogtreecommitdiff
path: root/1553/CH22/EX22.5/22Ex5.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH22/EX22.5/22Ex5.sce')
-rw-r--r--1553/CH22/EX22.5/22Ex5.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1553/CH22/EX22.5/22Ex5.sce b/1553/CH22/EX22.5/22Ex5.sce
new file mode 100644
index 000000000..564946fc6
--- /dev/null
+++ b/1553/CH22/EX22.5/22Ex5.sce
@@ -0,0 +1,11 @@
+//chapter 22 Ex 5
+
+clc;
+clear;
+close;
+rate=5/100;
+t=3; SIAmt=1200;
+p=SIAmt/(t*rate);
+Amt=p*(1+rate)^t;
+CI=Amt-p;
+mprintf("The compound interest is Rs.%d",CI);