Aircraft A is flying east at 320 mi/hr, while aircraft B is flying south at 160 mi/hr. At this point aircraft A is 800 miles away from the origin and aircraft B is 410 miles away from the origin. Their current locations make a right triangle.
a) Obtain the expression for the distance D between the aircraft as a function of time. Plot D versus time until D reaches its minimum value.
b) Use the "roots" function to compute the time when the aircraft are first within 40 miles of each other.