
This is because the interest is annually, this means that every year the interest is given over wat you already had + what you earned in interest.
The growth factor is 1.03 (or 3%) and X is after how many years.
You started with 500 and this grows with factor:
