summaryrefslogtreecommitdiff
path: root/1682/CH3/EX3.7/Exa3_7.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1682/CH3/EX3.7/Exa3_7.sce
downloadScilab-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/Exa3_7.sce')
-rwxr-xr-x1682/CH3/EX3.7/Exa3_7.sce12
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