summaryrefslogtreecommitdiff
path: root/1208/CH1/EX1.4/Exa4.sce
blob: 893e745999284db2212815884202f31e4fddb565 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//Exa4
clc;
clear;
close;
//given data :
Vo=500;//in Rs
r=16;//in % per annum
i=r/100;
n=5;//in years
//interest is calculated in quarterly basis
m=4;
//formula Vn=Vo*(1+i/m)^(m*n)
Vn=Vo*(1+i/m)^(m*n)
disp(Vn," The amount will be(in Rs.) : ")
//Note: answer given in the book is not accurate