PolarForm

PolarForm[ expr ]

PolarForm[ expr ] converts the vectors in an expression to polar form.

Example in out rendered
Rewrite cartesian vector (3,4) to polar form. PolarForm[CartesianVector[3,4]] PolarVector[5,0.927295218] (5,0.927295218)
Options

AnglePrecision

AnglePrecision returns the angle in the polar form numerically and rounds the answer to a number of decimal places n.

Syntax Example
PolarForm[ CartesianVector[ x, y ], AnglePrecision=>n ] PolarForm[ CartesianVector[ 12, 5 ], AnglePrecision=>2 ]

MagnitudePrecision

MagnitudePrecision returns the magnitude of the polar form numerically and rounds the answer to a number of decimal places n.

Syntax Example
PolarForm[ CartesianVector[ x, y ], MagnitudePrecision=>n ] PolarForm[ CartesianVector[ 11, 5 ], AnglePrecision=>2, MagnitudePrecision=>2 ]