In the figure below, a current i is set up in a long hairpin conductor formed by bending a wire into a semicircle of radius R. Point b is midway between the straight sections and so distant from the semicircle that each section can be approximated as being an infinite wire.
What are the (a) magnitude and (b) direction (into or out of the page) of the magnetic field at point a
And the (c) magnitude and (d) direction of the magnetic field at point b.
write your answer in terms of μ₀, π, R, i and number