A mould colony on a dish of agar has a radius of mm on day , and its edge moves out mm every day. The dish has a radius of mm. You will find the radius and the area of the colony each day, and the first day it reaches the edge. Then the program draws both.
The idea. The radius grows by the same amount each day, but the area, , grows faster and faster. The colony cannot grow past the edge of the dish.
Your tasks.
radii to the radius on each day in days, in mm, never more than DISH.areas to the area of the colony on each day, in mm².first_full to the first day on which the radius equals DISH.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…