A thin, vertical solenoid carrying anti-clockwise current $I$ with $\eta$ turns per unit length, length $l$ and radius $R$ can be used to focus off-axis charges. Define the origin at the bottom of the solenoid and the z-axis to be positive upwards (towards the top of the solenoid).
(a) Determine the longitudinal and radial magnetic field at a small perpendicular distance $r \ll R$ from the cylindrical axis as a function of z-coordinate $z$. Hint: we have calculated one of these fields in a previous problem.
(b) Now, suppose that particles with charge $q$ and mass $m$ are placed at radial distances $r \ll R$ at the bottom of the solenoid. They are given a large velocity $v_0$ in the positive $z$-direction such that their radial coordinates are approximately constant throughout the solenoid. If $l \gg R$, approximately how large should $v_0$ be as compared to the other parameters for this to occur? Now, determine the instantaneous velocities of these particles at the instance they exit from the top of the solenoid.
(c) Determine the time $t$ after this instance, at which they coincide with the z-axis, assuming that the magnetic field outside the solenoid is zero. Would this set-up function as a good lens to focus charges (of the same magnitude) with different initial radial distances?