# Optimization--PLEASE HELP!!!

posted by
**Maria** on
.

At t=0, ship A is 12 miles due north of ship B. Ship A travels 12 miles/hour due south, while ship B travels 8 miles/hour due east.

a. Write a function for the distance between the two ships.

b. At what time are the two ships closest?