Ampere's Law, Cylinders, Solenoid & Toroid
A cylinder cavity of diameter exists inside a cylinder of diameter as shown in the figure. Both the cylinder and the cavity are infinitely long. A uniform current density flows along the length. If the magnitude of the magnetic field at the point is given by , then the value of is ______.

Numerical answer type. Work it out, then open the answer.
Show answer and solution
Answer: 5
- Treat it as a full cylinder (radius ) with minus a cavity cylinder (radius ) with . P is at distance from O and from the cavity centre.
- Full cylinder at its surface: .
- Cavity part: , in the same direction at P, so subtract.
- , so .
- So the answer is .