Jacobi stability analysis and impulsive control of a 5D self-exciting homopolar disc dynamo