Cosine
Last updated
Last updated
The Cosine Node takes a single Float Value, representing an angle, in degrees (°) or radians (rad), and returns its cosine.
Cosine is a trigonometric function, used to calculate the acute angles and side lengths of right-angled triangles. Trigonometry has a vast amount applications, ranging from engineering to astronomy. The most relevent to INCARI, though, is that it can be used to calculate cooridnates and distances within 3D space.
Trigonometry on Kahn Academy.
Sine, Cosine and Tangent on Maths is Fun.
Attribute | Type | Description |
---|---|---|
Input | Type | Description |
---|---|---|
Output | Type | Description |
---|---|---|
Is Degree
Bool
Determines whether or not the Input
Value is given in degrees (°) or radians (rad).
Pulse Input (►)
Pulse
A standard Input Pulse, to trigger the execution of the Node.
Input
Float
The angle to calculate the cosine of.
Pulse Output (►)
Pulse
A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution.
Output
Float
The cosine of Input
.