I need to work out the total value of an investment after a period of time.
It will have a starting value of 200. It will have an annual return of the previous year’s return + 25. So year 1 = 200, year 2 = 225, year 3 = 250
I need to calculate, in SQL, the value of that investment after a period of years when it’s finally cashed out. So in the 3 year example the answer would be 675.