The amount in account after 7 years is $ 5499.445
<em><u>Solution:</u></em>
<em><u>The formula for total amount in compound interest is given as:</u></em>

A = the future value of the investment/loan, including interest
P = the principal investment amount (the initial deposit or loan amount)
r = the annual interest rate (decimal)
n = the number of times that interest is compounded per unit t
t = the time the money is invested or borrowed for
Here given that,
A = ?
P = 4000
t = 7 years

n = 2 ( since compounded semi annually)
<em><u>Substituting the values in formula, we get</u></em>

Thus amount in account after 7 years is $ 5499.445