@nevware21/ts-utils
    Preparing search index...

    Function mathSin

    The mathSin() function returns the sine of a number.

    0.12.0

    A number (given in radians)

    The sine of the given number

    mathSin(0); // 0
    mathSin(Math.PI / 2); // 1
    mathSin(Math.PI); // 0 (approximately)
    • Returns the sine of a number.

      Parameters

      • x: number

        A numeric expression that contains an angle measured in radians.

      Returns number