We are given the following information
Deposited amount = $4000
Interest rate = 4.5% = 0.045
Number of years = t = 6
Compounding = continuously
We can use the following formula for continuous compounding

Let us substitute the given values

Therefore, the value after 6 years will be $5239.6