cos
cos(x)
Compute cosine of x
, where x
is in radians
Examples
julia> cos(big(3 + 4im))
-2.703494560307422464769480266827091348467753695567661661019265514673434246483996e+01 with 256 bits of precision - 3.851153334811777536563337123053124569704160846091637003157728595256494186490506e+00 with 256 bits of precisionim
julia> cos(90)
-0.4480736161291702
See Also
acos, acosd, acosh, acot, acotd, acoth, acsc, acscd, acsch, asec, asecd, asech, asin, asind, asinh, atan, atan2, atand, atanh, cos, cosc, cosd, cosh, cospi, cot, cotd, coth, csc, cscd, csch, deg2rad, rad2deg, sin, sinc, sind, sinh, sinpi, tan, tand, tanh,User Contributed Notes
Ryan on 2015-11-14
julia> cos(0.2)
0.9800665778412416
Add a Note
The format of note supported is markdown, use triple backtick to start and end a code block.