User:System86/Cos/doc
From FEInfobase
{{
Template:Namespace detect
| type = notice
| image = 40px
| imageright =
| style =
| textstyle =
| text = This is a documentation subpage for User:System86/Cos (see that page for the user template itself).
It contains usage information, categories and other content that is not part of the original user template page.
| small =
| smallimage =
| smallimageright =
| smalltext =
}}
Implements the mathematical cosine function, from an input in radians. Implemented with the #expr parser function.
For the value of pi, you can actually use "pi".
- Usage:
- {{Cos|radians}}
- Examples:
-
cos(- π )
= -1 -
cos(-5Ï€/6)
= -0.866025403784 -
cos(-3Ï€/4)
= -0.707106781187 -
cos(-2Ï€/3)
= -0.5 -
cos(- π/2)
= 6.12323399574E-17 -
cos(- π/3)
= 0.5 -
cos(- π/4)
= 0.707106781187 -
cos(- π/6)
= 0.866025403784 -
cos( 0 )
= 1 -
cos( π/6)
= 0.866025403784 -
cos( π/4)
= 0.707106781187 -
cos( π/3)
= 0.5 -
cos( π/2)
= 6.12323399574E-17 -
cos( 2Ï€/3)
= -0.5 -
cos( 3Ï€/4)
= -0.707106781187 -
cos( 5Ï€/6)
= -0.866025403784 -
cos( π )
= -1 -
cos( 3Ï€/2)
= -1.83697019872E-16 -
cos( 2Ï€ )
= 1 -
cos( 5Ï€/2)
= 3.06161699787E-16 -
cos( 3Ï€ )
= -1 -
cos( 7Ï€/2)
= -4.28626379702E-16 -
cos( 4Ï€ )
= 1
- See also: