A list gives the sides of six cube-shaped cells. You will work out the surface area and the volume of each, then the ratio of the two, and find the first cell whose ratio falls below 1 per µm. Then the program draws the ratios.
The idea. A cube of side has a surface area of and a volume of .
Your tasks.
areas to the surface area of each cell, in µm².volumes to the volume of each cell, in µm³.ratios to the area divided by the volume, for each cell.first_below_one to the first side whose ratio is below 1.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…