[Solved] Figure Shows Two Ships Steaming Ocean Uss Matlab Position X1 Y1 Steaming Heading 1 Uss Tit Q37262819
The figure below shows two ships steaming on the ocean with theUSS Matlab at position (x1, y1) and steaming on heading ϴ1 whilethe USS Titan is at position (x2, y2) and steaming on heading ϴ2.Suppose that the USS Matlab makes visual contact with an iceberg atrange (r1) and bearing (ϴ3). The USS Titan is in a fog bank isunaware of the dangerous iceberg. Write an user-defined functionthat will calculate the range (r2) and bearing (ϴ4) so the USSMatlab can provide the USS Titan will knowledge of the location ofthe iceberg. (Name your function: range_bearing). Assume the USSMatlab is in communication with the USS Titan and thus knows theircorrect location and heading. Equations of interest showingmathematical relationships for variables in the image definedbelow: x=x1+r1*cos(theta1+theta3) y=y1+r1*sin(theta1+theta3)r2=sqrt((x-x2)^2+(y-y2)^2) theta4=atan2(y-y2,x-x2)-theta2 Note: Thegeometry for ship locations shown below assumes an arbitrary (x,y)reference system, where x is the distance in the North directionand y is the distance in the East direction, forming a right-handcoordinate system where theta is given in a compass angle. Theangles are defined clockwise from the North (x) axis (compassangles), and the bearings are defined clockwise from the bow of theships. The angles will be given in degrees, which is usual aboardseafaring ships.
Expert Answer
Answer to The figure below shows two ships steaming on the ocean with the USS Matlab at position (x1, y1) and steaming on heading … . . .
OR

