Answer :
We can find the equation using the following formula:
[tex]y=P(1+r)^x[/tex]Where:
P = Initial investment = $100
r = interest rate = 4% = 0.04
x = Number of years
So:
[tex]\begin{gathered} y=100(1+0.04)^x \\ y=100(1.04)^x \end{gathered}[/tex]