You will work out the ratio of surface area to volume for cube shaped cells with sides from 1 to 20 micrometres, draw it, and find the first cell whose ratio falls below a limit.
The idea. A cube of side has a surface area of and a volume of . A cell needs enough surface for its volume.
Your tasks.
ratio, return the surface area divided by the volume.ratios to the ratio for every side in sides.first_below to the first side whose ratio is below limit.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…