Was this page helpful?

Num.Cos

    Table of contents
    1. 1. Usage Restrictions
    2. 2. Parameters
    3. 3. Result
    4. 4. Samples
    num.Cos(angle : num) : num
    

    Get the cosine of the specified angle.

    Usage Restrictions

    1.9.1 or later

    Parameters

    Name Type Description
    angle
    num angle value

     

    Result

    The resulting number from cos( angle ). The resulting number will always be within the range of (-1, 1).

     

    Samples


    Output

    To find the cosine of a value:

    {{ num.cos(60) }} 

     

    -0.952412980415156

    To find the cosine of a value:

    {{ num.cos(120) }} 

     

    0.814180970526562
    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by