From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1208/CH1/EX1.15/Exa15.sce | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 1208/CH1/EX1.15/Exa15.sce (limited to '1208/CH1/EX1.15/Exa15.sce') diff --git a/1208/CH1/EX1.15/Exa15.sce b/1208/CH1/EX1.15/Exa15.sce new file mode 100755 index 000000000..4f0d6afe2 --- /dev/null +++ b/1208/CH1/EX1.15/Exa15.sce @@ -0,0 +1,13 @@ +//Exa15 +clc; +clear; +close; +//given data : +Vo=20000;//in Rs +r=4;//in % per annum +i=r/100; +n=10;//in years +//formula for annuity can be determined by Vo=(A*((1+i)^n-1))/(i*((1+i)^n)); +A=(Vo*(i*((1+i)^n)))/((1+i)^n-1) +disp(A,"The amount of each investment(in Rs) is : ") +//Note: answer given in the book is not accurate \ No newline at end of file -- cgit