How high does water climb in glass tubes of different widths, and how far is mercury pushed down? You will make the program find the rise of water and of mercury for tubes from to in radius, and the tube in which water climbs exactly .
The idea. . Water on clean glass: , . Mercury: , , .
Your tasks.
h_water, the rise of water in every tube.h_merc, the rise of mercury (it comes out negative: a fall).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…