Ingrid Function Documentation
Function Category Index
Function Menu
Argument Types
cos
help@iri
cos
Calculates the cosine of a number or variable (given in radians)
A
cos
Arguments
label
type
description
A
variable or constant
variable or constant (in radians) of which the cosine is to be taken
Returns
Result
variable or constant
Result
will be of the same type as
A
(i.e., either a variable or constant).
Description
cos
calculates the cosine of the latest variable or constant item on the stack, expecting an input value in radians rather than degrees.
Example
pi cos
Live Example Link
See also
Trigonometric Functions
:
cosd
sin
sind