Compound Interest=P(1+r100×n)n×t−P
Where, P = Principal amount=$400
r=rate of interest (%)=10
t=time period (years)=1
When interest is compounded yearly, then n=1
Compound Interestn=1=400(1+10100×1)1×1−400
=400(1+1010×10)−400
=400(1+110)−400
=400(1010+110)−400
=400(10+110)−400
=400×1110−400
=40×11−400
=440−400
=40
When interest is compounded half-yearly, then n=2
Compound Interestn=2=400(1+10100×2)2×1−400
=400(1+1010×10×2)2−400
=400(1+120)2−400
=400(2020+120)2−400
=400(20+120)2−400
=400×(2120)2−400
=400×441400−400
=441−400
=41
Difference between the compound interests
=Compound Interestn=2−Compound Interestn=1
=41−40
=1
Hence, difference between the compound interests is $1.