math arctan for math

Returns the arctangent of the number.

Signature

> math arctan --degrees

Parameters

  • --degrees (-d): Return degrees instead of radians

Examples

Get the arctangent of 1

> 1 | math arctan
0.7853981633974483

Get the arctangent of -1 in degrees

> -1 | math arctan -d
-45