User:System86/Cos/doc

From FEInfobase

Jump to: navigation, search

{{

 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:
Personal tools