(1) directly deposited into a 6-year deposit.
X+X×2.88%×6=5000
Solution: X≈4264
(2) Deposit for 3 years. After 3 years, the principal and interest will be automatically transferred to another 3 years.
X+X×2.7%×3+(X+X×2.7%×3)×2.7%×3 = 5000
Solution: X≈4279
So: direct deposit for 6 years, the initial principal deposit is relatively small.