Problem 3: [45 points, 25 minutes]
Two ships, A and B,
dedepart from two different
ports. Ship "A" travels
towards the NE (i.e.,
towards the East in an
angle, $\theta$, of 30° North) at
a speed of 14 miles per
hour, while Ship "B"
travels South at a speed
of 7 miles per hour. At 7
AM, the ships are
positioned as shown in the
schematic.
$v_A = 14$ mph
$s_A = 25$ miles
$v_B = 7$ mph
$s_B = 12$ miles
$\theta = 30^\circ$
a) Complete the script “problem0301.m" such as it prepares a
table showing the position $[x, y]$ of each ship as a function of
time $[t$, for $0 \le t \le 5$ hours] (use the schematic and equations
provided by the instructor)
b) Expand the output table to display the distance between the
two ships as a function of time.
c) If the visibility is 8 miles, when [time, HH:MM], and for how
long, would people from the two ships be able to see each
other?
EXTRA-CREDIT [20 points]
Plot the distance between the two ships as a function of time
[For full credit] this plot should include:
1. Your Name, CSU ID, and Problem Title.
2. Axes labels, including units
3. A grid
Submit the plot along with the script and output tables