We can solve this problem by means of the formula of the compound interest formula:
![A=P*(1+(r)/(n))^(nt)](https://img.qammunity.org/2023/formulas/mathematics/college/ef65gxvgcclts9kvmlbn7vsqvmci9jbwyu.png)
Where A is the amount of money saved in the account after a time t, P is the principal, r is the rate of interest in decimals and n is the number of times interest is compound per year.
If we solve for P from this equation, we get:
![P=(A)/((1+(r)/(n))^(nt))](https://img.qammunity.org/2023/formulas/mathematics/college/tqurb812bltjk5ql31ku00fga65kytcdez.png)
From the statement of the question we know that:
A = $500, since this is the amount of money that Hannah wants to save
n = 4
t = 3 years
r = 15/100 = 0.15
If we replace these values into the equation above, we get:
![P=(500)/((1+(0.15)/(4))^(4*3))=321.45](https://img.qammunity.org/2023/formulas/mathematics/college/u94pcks3mpee0qk0kkqsy35y5p97jyxm6j.png)
Then Hannah, has to deposit $321.45 in order to buy the bicycle in 3 years