These functions call R's corresponding trigonometric functions.
i1 : cos RObject pi o1 = [1] -1 o1 : RObject of type double
i2 : asin RObject 1 o2 = [1] 1.570796 o2 : RObject of type double
For atan2, one of the operands may be a Macaulay2 object. It will be converted to an RObject before the operation is performed.
i3 : atan2(RObject 1, -1) o3 = [1] 2.356194 o3 : RObject of type double
i4 : atan2(sqrt 3, RObject 1) o4 = [1] 1.047198 o4 : RObject of type double