Chaos in a magnetically forced dipole