You will write four small functions that a maker of meters would need.
The idea. In a radial field, . A shunt makes an ammeter, . A series resistor makes a voltmeter, . An ammeter in a circuit adds its own resistance. Use SI units: m², T, A, V and ohm.
Your tasks.
deflection, return the deflection in radian for a coil of N turns, area A, radial field B, spring constant k and current I.shunt, return the shunt in ohm for a coil of resistance G and full-scale current Ig, for an ammeter that reads up to I.series_resistor, return the resistor in ohm that makes a voltmeter that reads up to V.ammeter_reading, return the current in A that an ammeter of resistance RA reads when it is in series with a resistor R and a cell of emf emf. The cell has no internal resistance.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…