Build an Ampere path with one side inside the
cylinder parallel to the axis, two sides perpendicular to the axis and
the fourth outside again parallel to the axis (like a coil).
is the length of the side
The current passing through the area is
, so that