You will write three small functions about a charge in a uniform magnetic field. They use and .
The idea. In a field at right angles to its velocity, a charge goes round a circle. If the velocity is at an angle to the field, the path is a helix. All quantities are in SI units. The charge is given as a positive number in coulomb. The angle is in degrees.
Your tasks.
orbit_radius, return the radius of the circle in m, for a velocity at right angles to the field.orbit_period, return the time for one turn in s.helix, return the radius and the pitch of the path in m, as a pair (radius, pitch).Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…