Given:
A person invests 4000 dollars in a bank.
so, the initial balance = P = 4000
The interest rate = r = 5.75% = 0.0575
Compounded quarterly, n = 4
We will find the time (t) to reach 5900
We will use the following formula:

Substitute with the given values then solve for (t)

Taking the natural logarithm for both sides:

Rounding to the nearest tenth of a year
So, the answer will be t = 6.8 years