diff options
Diffstat (limited to '1553/CH22/EX22.2/22Ex2.sce')
-rw-r--r-- | 1553/CH22/EX22.2/22Ex2.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/1553/CH22/EX22.2/22Ex2.sce b/1553/CH22/EX22.2/22Ex2.sce new file mode 100644 index 000000000..ee315c079 --- /dev/null +++ b/1553/CH22/EX22.2/22Ex2.sce @@ -0,0 +1,9 @@ +//chapter 22 Ex 2
+
+clc;
+clear;
+close;
+p=8000; n=2; r=15;
+amount=p*((1+r/100)^n)*((1+(1/3)*r/100));
+CI=amount-p;
+printf("The Compound Interest is Rs. %3.0f",CI);
|