
Step 1: Magnetic Field from the Arc
For an arc of radius \( a \) spanning an angle of \( \frac{3\pi}{2} \), the magnetic field at the origin is given by: \[ B_1 = \frac{\mu_0 I}{4\pi a} \]
Step 2: Magnetic Field from the Straight Segment
For the straight segment of the wire, the magnetic field at the origin is calculated as: \[ B_2 = \frac{\mu_0 I}{4\pi a} \left( \frac{3\pi}{2} \right) \]
Step 3: Magnetic Field from Other Segments
The magnetic field generated by the straight segments at the origin is zero: \[ B_3 = 0 \]
Step 4: Total Magnetic Field Calculation
The total magnetic field at the origin is the sum of the fields from all segments: \[ B = \frac{\mu_0 I}{4\pi a} \left( \frac{3\pi}{2} \right) \]