cos method

Dimension cos (
  1. Node n
)

Calculates cosine function. Assumes radians on numbers without units. Parameters: number - a floating point number. Returns: number Example: cos(1deg) // cosine of 1 degree Output: 0.9998476951563913;

Implementation

//
/// Parameters:
///   number - a floating point number.
///   Returns: number
/// Example:
///   cos(1deg) // cosine of 1 degree
///   Output: 0.9998476951563913;
///
Dimension cos(Node n) => MathHelper._math(math.cos, '', n);