Noob help needed!

Pages: 12
"Hence for a list of deposits such as
1000 (2 years ago deposited on 1 July)
3500.50 (1 year ago deposited on 1 July)
2000 (deposited on this 1 July)
-1 (or control-Z, calculate the accumulation on this 1 July)


The program should produce the accumulated total 6946.94 = 1000*1.08(2) + 3500.50*1.08 + 2000 or through 6946.94 = (1000 *1.08 + 3500.50) *1.08 + 2000"

Are you saying that the last 2000 needs to stay as 2000? or do you need the interest added onto that too? or do you need it to be manually added through control-z?
@bluesoleli
its 8 percent of 2000 which is the interest rate.
$6946.94 is made up of that first deposit of 2000 x 0.08 for the interest per annum.
hope that helped
What you said there with 2000x0.08 doesn't make sense to me when I read through the "6946.94 = (1000 *1.08 + 3500.50) *1.08 + 2000" bit. If you were to apply 0.08 to that extra 2000 you add on at the end, you would get 7502.7 and not 6946.94.

I am assuming that you leave the final 2000 alone and do not add interest to it (that way you will get 6946 your teacher has set <--- try it yourself and see what I mean), and when you enter -1 (last bit your teacher said above), it will then calculate the accumulated interest on top of all your totals there.
Last edited on
i would try but i dont know how to do it, any suggestions
Topic archived. No new replies allowed.
Pages: 12