summaryrefslogtreecommitdiff
path: root/1553/CH22/EX22.4/22Ex4.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH22/EX22.4/22Ex4.sce')
-rw-r--r--1553/CH22/EX22.4/22Ex4.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/1553/CH22/EX22.4/22Ex4.sce b/1553/CH22/EX22.4/22Ex4.sce
new file mode 100644
index 000000000..a3d755f20
--- /dev/null
+++ b/1553/CH22/EX22.4/22Ex4.sce
@@ -0,0 +1,10 @@
+//chapter 22 Ex 4
+
+clc;
+clear;
+close;
+p=16000; t=3; //since quarterly compounded
+r=5;//since quarterly compounded
+amount=(p*(1+r/100)^t);
+CI=amount-p;
+printf("The Compound Interest is Rs. %d",CI);