Find the magnetic field at point P due to a straight line segment AB of length 6 cm carrying a current of 5 A. (See figure) ( N-A)

From JEE Main 2019 · 12 Apr · Shift 2
Find the magnetic field at point P due to a straight line segment AB of length 6 cm carrying a current of 5 A. (See figure) ( N-A)

Worked solution
P is 4 cm above the midpoint (3-4-5 triangle), and each end subtends an angle with sin = 3/5 at P.
(A)
Every past question tagged to the same part of the syllabus, with solutions.
Timed, in the real format, and marked the moment you submit.