diff options
Diffstat (limited to '1553/CH22/EX22.3')
-rw-r--r-- | 1553/CH22/EX22.3/22Ex3.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/1553/CH22/EX22.3/22Ex3.sce b/1553/CH22/EX22.3/22Ex3.sce new file mode 100644 index 000000000..82a6095bb --- /dev/null +++ b/1553/CH22/EX22.3/22Ex3.sce @@ -0,0 +1,10 @@ +//chapter 22 Ex 1
+
+clc;
+clear;
+close;
+p=10000; n=4; //since half yearly, hence 2 years=4 half years
+ r=2;
+amount=p*((1+r/100)^n);
+CI=amount-p;
+printf("The Compound Interest is Rs. %3.2f",CI);
|