You will write three functions that describe a group of cells, and then find the best arrangement.
The idea. identical cells are joined in rows of cells, with . The group has emf and internal resistance . The current through a load is the emf divided by plus the resistance of the group.
Your tasks.
group_emf, return the emf of cells in series, in V.group_resistance, return the internal resistance of the group, in ohm.best_rows, find the current for every whole number that divides , and return the best with its current.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…