You will write three small functions for a capacitor that is being charged. Use .
The idea. Parallel plates of area and gap have . The displacement current in the gap is . For circular plates of radius carrying a charging current , the magnetic field at a distance from the axis is inside, and outside, with T m/A.
Your tasks.
capacitance, return the capacitance in F of parallel plates of area area in m² and gap gap in m.displacement_current, return the displacement current in A for a capacitance cap in F and a voltage that changes at dv_dt in V/s.field_between_plates, return the magnetic field in T at a distance r from the axis, for plates of radius radius, charged by current. All lengths are in m.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…