EXPLANATION
Let's see the facts:
Initial Amount = $1,030
Interest rate = 4% = 0.04 (in decimal form)
Compounding rate = Semiannually = 2 times by year
Time= 2 years
As we already know, the Formula to calculate the Principal is as follows:

Substituting terms:

Adding numbers:

Simplifying the power:

The Amount obtained is $1,114.87