Bradford T. answered 10/14/21
Retired Engineer / Upper level math instructor
Let x be the west bound car distance and y be the south bound car distance from the starting point. Let s be the distance between the two cars.
dx/dt = 20
dy/dt = 40
Need to find ds/dt after 4 hours
s2 = x2+y2
Do implicit derivation
2s ds/dt = 2xdx/dt +2ydy/dt
ds/dt = (xdx/dt + ydy/dt)/s
After 4 hours, x = 4(20) = 80 miles and y = 4(40) = 160 miles.
s = √(802+1602) = √32000 ≈ 178.89
ds/dt = (80)(20)+(160)(40)/√32000
= 8000/√32000 ≈ 44.72 mph