diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1208/CH1/EX1.15/Exa15.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1208/CH1/EX1.15/Exa15.sce')
-rwxr-xr-x | 1208/CH1/EX1.15/Exa15.sce | 13 |
1 files changed, 13 insertions, 0 deletions
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 |