Original applet [url=http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=2125]Cross a river with a boat[/url]

You wish to cross a river and arrive at a dock that is directly across from you, but the river's current

will tend to carry you downstream. To compensate, you must steer the boat at an angle. Find the angle ?, given the magnitude, |vWL|, of the water's velocity relative to the land, and the maximum speed, |vBW|, of which the boat is capable relative to the water.

? The boat's velocity relative to the land equals the vector sum of its velocity with respect to the water and the water's velocity with respect to the land,

vBL = vBW+ vWL .

If the boat is to travel straight across the river, i.e., along the y axis, then we need to have vBL,x=0.

This x component equals the sum of the x components of the other two vectors,

vBL,x = vBW,x + vWL,x , or 0 = -|vBW| sin ? + |vWL| .

Solving for ?, we find sin?=|vWL|/|vBW|,

so ? =sin-1 |vWL|/|vBW|.

The following simulation let you play with it. Enjoy!

You can adjust the velocity of the river or the boat with slider.

You can also change it's direction (angle ?=c).

It will remember the last 3 traces./htdocs/ntnujava/ejsuser/37048/users/egy/ahmed/motion_boatNriver_pkg/motion_boatNriver.propertiesFull screen applet or Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list

Download EJS jar file(1048.2kB):double click downloaded file to run it. (44 times by 14 users) , Download EJS source View EJS source