For problems like this the first thing you should do is set up a coordinate system so that you can write equations. Set up your coordinate system so that the origin is at home plate and the positive x-axis extends to the first base. Each "unit" will be one foot.on my own and I'm already stumped. Here's the problem:
A baseball diamond is a square whose sides are 90 feet. Suppose a man runs around the bases at a speed of 20 feet per second, starting from home plate. Express the shortest straight line distance f between this man and home plate as a function of the time t in seconds since he started running. [Hint: Four equations will be needed.]
(There are many possible coordinate systems. My first thought was the "obvious" origin at home plate, y-axis straight up through second base, but I think this will be simpler.)
While the runner goes from home plate to first base, at 20 feet per second, his distance from home plate is just his "y" coordinate. Once he turns toward second base, he is running along the line x= 90 so his "position" is (90, y). What is the distance from that to home plate?
This should be easy but I just can't do it.
If it matters, I am fine with a hint or a number of hints. I'd prefer to find the answer with some help than to be given the answer outright. So far I've written out a table that gives the horizontal distance, the vertical distance, and the sum of the horizontal and vertical distances for given values of t. I'm not sure how to "mod out" the 90 feet, if that makes sense.