A tank on the ground holds water deep. Holes could be made at any depth. You will make the program find the speed of the jet from each depth, where each jet lands, and the depth that sends the jet farthest.
The idea. From a hole below the surface the water leaves at (Torricelli). It falls to the ground in , so it lands times that away.
Your tasks.
v of the jet from every depth in h.R.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…