Answer:
D
Explanation:
Continuous compound is given by the following formula:

Where A is the ending amount, P is the initial amount, e is Euler's number, r is the rate, and t is the time in years.
We have a $5000 investment at 4% or 0.04 for 18 years. Therefore:

Use a calculator:

Hence, our answer is D.