PolarVector
PolarVector
PolarVector[ r, angle ] represents a vector in polar form, given by its magnitude and direction.
Usages
PolarVector[ r, angle ]
PolarVector[ r, angle ] represents the vector with magnitude (length) r and direction angle. The angle is in radians, unless it is given as a quantity in degrees.
| Example | in | rendered |
|---|---|---|
Magnitude 2, angle ¼π radians. |
PolarVector[ 2, 1/4 Pi ] |
|
Magnitude 3, angle 85 degrees. |
PolarVector[ 3, Quantity[85, 'deg'] ] |
Details
PolarVectoronly represents the vector; in a script, it is not changed.- Use
ComponentFormto convert a polar vector to components:Simplify[ ComponentForm[ PolarVector[2, 1/4 Pi] ] ]is displayed as . UsePolarFormfor the opposite conversion.
See also: BaseVector, Vector, ComponentForm, PolarForm