summaryrefslogtreecommitdiff
path: root/1553/CH22/EX22.9/22Ex9.sce
blob: 6b46e994968f87f51dc67ff087e14e94cec00793 (plain)
1
2
3
4
5
6
7
8
9
10
//chapter 22 Ex 9

clc;
clear;
close;
rate=10/100; t=2; difference=631;
CI=((1+rate)^t)-1;
SI=t*rate;
Sum=difference/(CI-SI);
mprintf("The Sum is Rs.%.0f",Sum);