Google Classroom
GeoGebraGeoGebra Classroom

Example5 (MasterMathMentor.com- Stu Schwartz)

I am 1 mile in the ocean and wish to get to a town 3 miles down the coast which is very rocky. I need to swim to the shore and then walk along the shore. What point should I swim to along the shoreline so that the time it takes to get to town is a minimum? I swim at 2 mph and walk at 4 mph.
Slide the point P along the segment AT.