"A man, who started work in 1990, planned an investment for his retirement in 2030 in the following way. On the first day of each year, from 1990 to 2029 inclusive, he is to place £100 in an investment account. The account pays 10% compound interest per annum, and interest is added on the 31st December of each year of the investment. Calculate the value of his investment on 1st January 2030."
I understand that this follows a GP. At the end of 1990, he has $£100(1.1)$, at the end of 1991 he has $£100(1.1)(1.1)=£100(1.1)^2$ and so on till the end of 2029.
I managed to get the answer but wasn't satisfied with my method. Firstly, how do you work out the number of years inclusive, between a particular year and another, at least in an intuitive manner? Also with something like how many days are between 2 dates, or how many terms there are between a part of a series?
Also how can I do this in a formulated manner? I had to do this written out with end year 1, end year 2 etc. The regular GP formula doesn't work and I can appreciate why, sort of. Could a formula be used from the start of year 1?
Cheers

Here we want the value of the investment on 31st December 2029, which will be the same as the value on the 1st Jan 2030
So you start with...
On 31st Dec 1990, the value of his investment is $100\times 1.1$
On 31st Dec 1991 the value is $(100\times1.1+100)\times 1.1$
On 31st Dec 1992 the value is $((100\times1.1+100)\times1.1+100)\times 1.1$
This is the same as $100\times1.1(1+1.1+1.1^2)$
Clearly this is a GP with three terms. We can infer that
On 31st Dec 2029 the value is $100\times1.1(1+1.1+1.1^2+...+1.1^{39})$ which is a GP with $40$ terms, so the total is $$100\times1.1\times\frac{1.1^{40}-1}{1.1-1}$$
Note that we can count the number of £100 payments by doing $2029-1990+1$.