You can change the radius or distance between two coil and set up a magnetic mirror field.
The field can trapped charged particle between two coils.
Virtual Physics laboratory Original URL
Fu-Kwun Hwang, Dept. Of Physics, National Taiwan Normal University.