Directions

This simple javascript page is intended to be used with this project from "Informal Calculus". The main question behind the project is to find the streamflow or discharge of this river in cubic feet per second. The diagram above represents a cross-section of the river. Click anywhere in the river (under the "surface") to get a horizontal position, depth, and water velocity. If you get a negative depth, velocity, or horizontal position, you're most likely not clicking in within the river as intended.

To help divide the river into sections, you can use the "Draw a Line" button. Click the button, then click twice more and a red line will be drawn between the latter two clicks. There is no way to erase a line except to erase all lines by refreshing the page.