You will write four small functions about capacitors. They use , and .
The idea. A parallel-plate capacitor in air has . Two concentric spheres of radii and have . Every length is in metres, every capacitance in farad.
Your tasks.
charge, return the charge in coulomb on a capacitor C charged to a voltage V.plate_capacitance, return the capacitance of two square plates of a given side, a given gap apart, in air.plate_gap, return the gap that gives a capacitance C with square plates of a given side.sphere_capacitance, return the capacitance of a ball of radius a inside a shell of inner radius b.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.