A hairpin like shape as shown in figure is made by bending a long current carrying wire. What is the magnitude of a magnetic field at point \( P \) which lies on the centre of the semicircle?
\( \dfrac{\mu_{0} I}{4 \pi r}\,(2 - \pi) \)
\( \dfrac{\mu_{0} I}{2 \pi r}\,(2 - \pi) \)
\( \dfrac{\mu_{0} I}{2 \pi r}\,(2 + \pi) \)
\( \dfrac{\mu_{0} I}{4 \pi r}\,(2 + \pi) \)