To find the initial balance (P), we can use the given formula for compound interest:
A = P(1 + r)ⁿ
In this case, we have:
A = $5,000 (ending balance)
r = 0.05 (annual interest rate)
t = 3.5 years (time period)
First, we need to find the number of compounding periods (n). Since the interest is compounded annually and the time period is given in years, n = t = 3.5.
Now, we can plug these values into the formula and solve for P:
$5,000 = P(1 + 0.05)^3.5
To solve for P, we need to isolate it on one side of the equation. First, we can divide both sides by (1 + 0.05)^3.5:
$5,000 / (1 + 0.05)^3.5 = P
Now, we can calculate (1 + 0.05)^3.5:
(1 + 0.05)^3.5 ≈ 1.1806
Next, we can divide $5,000 by this result to find the initial balance (P):
P ≈ $5,000 / 1.1806 ≈ $4,210.74
So, the initial balance in the account was approximately $4,210.74.