You will write three functions that describe coils. They use the results of the last two lessons.
The idea. A long solenoid has . Two coils with coupling have , and joined in series they have . The energy stored in an inductor is .
Your tasks.
solenoid_inductance, return the inductance in H of a long solenoid. The length and the radius are in m, and mu_r is the relative permeability of the core.series_inductance, return the inductance in H of two coils joined in series. L1 and L2 are in H, k is the coupling, and aiding is True when the fields point the same way and False when they oppose.stored_energy, return the energy in J stored by an inductor L in H that carries current in A.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…