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 /1682/CH3/EX3.7 | |
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 '1682/CH3/EX3.7')
-rwxr-xr-x | 1682/CH3/EX3.7/Exa3_7.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/1682/CH3/EX3.7/Exa3_7.sce b/1682/CH3/EX3.7/Exa3_7.sce new file mode 100755 index 000000000..849f44968 --- /dev/null +++ b/1682/CH3/EX3.7/Exa3_7.sce @@ -0,0 +1,12 @@ +//Exa3_7
+clc;
+clear;
+close;
+//given data is :
+A1=4000;//in rupees
+G=500;//in rupees
+n=10;//in years
+i=15;//% per annum
+A=A1+G*(((1+i/100)^n-(i/100)*n-1)/((i/100)*(1+i/100)^n-(i/100)));
+F=A*(((1+i/100)^n-1)/(i/100));
+disp("At the end of 10th year, the compound amountr of all his payments will be : "+string(F)+" Rupees.");
\ No newline at end of file |