
Perpendicular distance of centroid from any of the sides will be, dtan60∘=23
⇒d=2cm
Each side will subtend an angle of 120∘ at the centre. Also magnetic field due to all sides will be out of plane of paper, hence total magnetic field can be written as
B=3×4πdμ0i[sin60∘+sin60∘]
=3×2×10−210−7×2×3
=33×10−5T