User:System86/Cos

From FEInfobase

Jump to: navigation, search
[edit] Documentation

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