Most importantly, I'm glad you've decided to give us another chance.
At first glance, you've got the right answer to a different question.
Don't the 105 and 140 you've plugged in represent initial distances?
So 25 m/s is the right answer for "What is the rate of change between them at initial time zero?"
This may happen to be the same answer, for"What is the rate of change between them at time =5 seconds?"
(The constraint that all distances must fit in Pythagorean theorem somehow may mean dz/dt is unaffected.) However, on a test I would feel very uncomfortable leaving that as the answer. Plus mastering this concept will make physics that much easier.
2x*dx/dt + 2y*dy/dt = 2z * dz/dt.
substitute the values for the rates and positions at time t = 5 seconds. Solve this equation for dz/dt
(paraphrased)
I would feel much more confident applying
v=d/t to the horizontal distance & then to the vertical distance
to get us distances at 5 seconds.
This is where the two or 3 triangles I mentioned in my first post comes in. Heck I teach my college students, find colored pencils, draw a large diagram. In our case, we can put both triangles on the same diagram, one very large for the initial distances & one with dimensions half the size representing 5 seconds later. Make sure the diagram is large enough to have clear labels on the smaller triangle. In your labels, be sure to distinguish
A. initial distance from intersection.
B. distance traveled in 5 seconds.
C. distance to intersection
With the new velocities in compatible units, go ahead and solve v=d/t
once for the horizontal, westbound train
and once for the vertical, southbound train.
The distance that equation gives us, is the distance travelled,
NOT the distance to the intersection. So you'll need a subtraction, once for the north/south train and again for the east/west train.
Next to last step, whew, almost done.
Apply pythagorean theorem to the new distances to find the hypotenuse or slant distance after 5 seconds.
At this point, we know 5 of the 6 variables.
x, y, z at time = 5 seconds.
dx/dt & dy/dt were given to us in the initial question.
Finally, go back to
2x*dx/dt + 2y*dy/dt = 2z * dz/dt.
substitute the values for the rates and positions at time t = 5 seconds. Solve this equation for dz/dt
Possible trivia:
This problem assumes the westbound & southbound velocities are constant.
I hope you'll find the arithmetic themselves aren't terribly difficult. It's knowing which calculations to do when that seems to be the challenge.
A. Experience,
B. seeing similar problems in other classes,
C. recognizing if I put in distances for t=0, my results will be valid for t=0, but if I put in distance for t=5, my results will be valid for t=5
helps here.
Here's hoping the trains don't cause a wreck.