The same thrust of presses on smaller and smaller areas. You will make the program find the pressure for each area, the area that gives exactly , and the smallest area on the list that keeps the pressure under . Then it draws the pressure for each area.
The idea. . Halve the area and the pressure doubles.
Your tasks.
P, the pressure on each area, in pascals.area_needed, the area that gives , in .smallest_ok, the smallest area on the list where the pressure stays under .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…