You will write three functions that join capacitors, and then use them on a network.
The idea. In parallel the capacitances add. In series the reciprocals add, and every capacitor holds the same charge. A capacitor with charge and capacitance has a voltage .
Your tasks.
parallel, return the equivalent capacitance of a list of capacitors in parallel, in .series, return the equivalent capacitance of a list of capacitors in series, in .series_voltages, return a list with the voltage across each capacitor of a series chain on a battery, in V.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.