You have three resistors: , and . You will make the program find their combined resistance in series and in parallel, and how many times larger the series value is. Then it draws the two as bars.
Your tasks.
series, the combined resistance in series.parallel, the combined resistance in parallel.ratio, the series value divided by the parallel value.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…