Given,
Mass of semicircular wire, m
Linear mass density of semicircle, σ=mπr
For small length,dl=rdθ, mass is dm=σdl=mπrrdθ=mdθπ
Moment of inertia small mass, dI=dm.r2=mdθπr2
On integrating, (0toπ)
I=mr2πθ|π0=mr2
Hence, inertia of semicircular wire is mr2