Cos

Not available in this language yet.
Cos( value )
Cos( value )
Cos( value )
Not available in this language yet.
Not available in this language yet.
Not available in this language yet.
Cos( value )

Description

The Cos function is a trigonometric function which calculates ratios of the lengths of the sides of right triangles. The Cos returns the cosine of a number.

Parameters

Argument Type Definition and Requirements

value

Number

Take the cosine of this value.

Returns

A number which is the cosine of value.

Examples

The query below executes an array of independent cosine operations and returns each answer in the result array. The result array position matches the position in the execution array.

System.out.println(
        client.query(
                Cos(Value(0.5)))
                .get());
0.8775825618903728