From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 1553/CH22/EX22.1/22Ex1.sce | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 1553/CH22/EX22.1/22Ex1.sce (limited to '1553/CH22/EX22.1/22Ex1.sce') diff --git a/1553/CH22/EX22.1/22Ex1.sce b/1553/CH22/EX22.1/22Ex1.sce new file mode 100644 index 000000000..65a258905 --- /dev/null +++ b/1553/CH22/EX22.1/22Ex1.sce @@ -0,0 +1,10 @@ +//chapter 22 Ex 1 + +clc; +clear; +close; +p=7500; n=2; r=4; +amount=p*((1+r/100)^n);//formula for compound interest +CI=amount-p; +printf("The Compound Interest is Rs. %d",CI); + -- cgit