WOLFRAM NOTEBOOK

WOLFRAM|DEMONSTRATIONS PROJECT

Minimizing the Time for a Dog to Fetch a Ball in Water

ball in?
15
ball up?
50
swim speed?
1.2
run speed?
3
cheat?
Cooper fetches a ball!
Ball is 15 yards in.
Ball is 50 yards up.
Cooper swims 1.2 yards per second.
Cooper runs 3 yards per second.
Cooper gets the ball in 38.93 seconds.
He can do 10.81 seconds better.
Two people named Nick and Alina have a dog named Cooper. Cooper is a (smart) puggle. How smart is he?
If Cooper is on the beach and Nick throws a tennis ball into the water, Cooper goes to retrieve the ball, following the orange path. There is an ideal point on the bank at which he should jump in (given by checking "cheat?") that minimizes the time it takes to retrieve the ball. The ideal point depends on his running speed (how fast he moves on land), his swimming speed (how fast he moves in the water), and the location of the ball. You can manipulate all these parameters to explore this famous (at least in the math world) problem.
Wolfram Cloud

You are using a browser not supported by the Wolfram Cloud

Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.


I understand and wish to continue anyway »

You are using a browser not supported by the Wolfram Cloud. Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.