To find out when the money in both bank accounts will be exactly the same, we'll set up equations for the future values of both accounts and solve for time.
The formula for continuous compounding is given by:
where: - euros (initial deposit), - (2% continuous compound rate), - is the time in years, - is the amount at time .
Plugging in the values for bank A, we have:
The formula for periodic compounding is given by:
where: - euros (initial deposit), - (7% periodic compound interest rate), - (compounding frequency), - is the time in years, - is the amount at time .
Plugging in the values for bank B, we have:
To find the time when both accounts have the same amount of money, we set:
Taking the natural logarithm on both sides:
Solve for :
Calculating the values:
Therefore, it will take approximately 8.23806 years for the amount of money in both bank accounts to be exactly the same, correct to five decimal places.