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 --- 1682/CH3/EX3.8/Exa3_8.sce | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 1682/CH3/EX3.8/Exa3_8.sce (limited to '1682/CH3/EX3.8') diff --git a/1682/CH3/EX3.8/Exa3_8.sce b/1682/CH3/EX3.8/Exa3_8.sce new file mode 100755 index 000000000..11a0bf729 --- /dev/null +++ b/1682/CH3/EX3.8/Exa3_8.sce @@ -0,0 +1,12 @@ +//Exa3_8 +clc; +clear; +close; +//given data is : +A1=8500;//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 -- cgit