Water flows through a level pipe whose diameter changes along its length: wide, then narrow, then wide again. You will make the program find the speed and the pressure all along it, and where the pressure is lowest.
The idea. Continuity: with . Bernoulli in a level pipe: , where and are at the start.
Your tasks.
A at every point along the pipe.v at every point.p at every point, and the lowest pressure.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…