Question: 6. Write a function that determines the polar coordinates of a point from the Cartesian coordi- nates in a two-dimensional plane. For the function name

6. Write a function that determines the polar coordinates of a point from the Cartesian coordi- nates in a two-dimensional plane. For the function name and arguments use [th rad] CartToPolar(x, y). The input arguments are the z and y coordinates of the point, and the output arguments are the angle and the radial distance to the point. The angle is in degrees and is measured relative to the positive x axis, such that it is a positive number in quadrants I and II, and a negative number in quadrants IIIand IV. Use the function to determine the polar coordinates of the following Cartesian points: a) (14,9) c) (-15,4) d) (13.5, -23.5)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
