You will write four functions that a circuit designer might use for a coil or a capacitor on an AC source.
The idea. A coil has and a capacitor has . The rms current is the rms voltage divided by the reactance. A delay of at the frequency is the phase .
Your tasks.
coil_reactance, return in ohm for an inductance in H and a frequency in Hz.capacitor_reactance, return in ohm for a capacitance in F and a frequency in Hz.rms_current, return the rms current in A for an rms voltage in V and a reactance in ohm.phase_degrees, return the phase in degrees for a delay in s at a frequency in Hz.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…
With Standard, you also open 11 more problems, 2 Python labs and 1 extra course. Everything you have used here stays free, always.