AngleVector

AngleVector[θ]

gives the list representing the 2D unit vector at angle θ relative to the axis.

AngleVector[{r,θ}]

gives the list representing the 2D vector of length r at angle θ.

AngleVector[{x,y},θ]

gives the result of starting from the point {x,y}, then going a unit distance at angle θ.

AngleVector[{x,y},{r,θ}]

gives the result of starting from the point {x,y}, then going distance r at angle θ.

Details

  • Unless explicitly given as a Quantity object, the angle θ is assumed to be in radians, counterclockwise starting from the axis. (Multiply by Degree to convert from degrees.)
  • AngleVector[{r,θ}] gives a vector that starts at {0,0}.
  • The arguments of AngleVector can be symbolic. They can also be Quantity objects.

Examples

open allclose all

Basic Examples  (4)

Unit vector at angle θ:

In[1]:=
Click for copyable input
Out[1]=

Angles are assumed to be in radians:

In[1]:=
Click for copyable input
Out[1]=

Unit vector at angle 30°:

In[1]:=
Click for copyable input
Out[1]=

Use a Quantity angle instead:

In[2]:=
Click for copyable input
Out[2]=

General symbolic case:

In[1]:=
Click for copyable input
Out[1]=

Scope  (5)

Properties & Relations  (4)

See Also

AnglePath  FromPolarCoordinates  Sin  Cos  Degree  FromDMS  AbsArg  UnitVector  Rotate  VectorAngle  CirclePoints  GeoDestination  ListPolarPlot

Introduced in 2015
(10.1)