You will write three small functions about a series LCR circuit. They use and .
The idea. All the quantities are in ohm. The phase angle is positive when the circuit is inductive, which means the current lags. The functions math.sqrt and math.atan2 may help.
Your tasks.
impedance, return the impedance in ohm.phase_degrees, return the phase angle in degrees. It is negative for a capacitive circuit.kind, return the word "inductive", "capacitive" or "resistive".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.