You will write three functions that follow a coil while the flux through it changes.
The idea. A loop lies in the page, and a field points into the page. We count the flux into the page as positive. Then Faraday's law, , gives a negative emf for a growing flux, and by Lenz's law the current is then anticlockwise. A positive emf means a clockwise current.
Your tasks.
emf_list, fluxes holds the flux through one turn at equal steps of time. Return the list of emfs, one for each step, with the sign of Faraday's law.direction, return the text "clockwise" for a positive emf, "anticlockwise" for a negative emf, and "none" for zero.total_charge, return the charge in C that flows in all the steps. A charge in one direction counts as positive, and in the other as negative.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…