You will write four functions for the optics experiments and the meters. They follow the lesson.
The idea. For a real image, . For a slab, . For a prism at the least deviation, . A voltmeter made from a galvanometer needs a series resistor .
Your tasks.
lens_focal, return from the object distance u and the image distance v.slab_index, return from the angles i and r in degrees.prism_index, return from the prism angle A and the least deviation dm, both in degrees.voltmeter_resistor, return the series resistor for the range V in volt, the galvanometer current Ig in A and the resistance G in ohm.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…