# Cosine

## Overview

![The Cosine Node.](https://4263346935-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLnh3x8s9fddWeG8TaAug%2Fuploads%2Fgit-blob-a2d0ef22e6312505e5693b370124989ea6b11778%2Fcosineupdatedimage.png?alt=media)

The **Cosine Node** takes a single **Float** value, representing an angle, in degrees (°) or radians (rad), and returns its _cosine_.

[**Scope**](../../../overview#scopes): **Project**, **Scene**, **Function**, **Prefab**.

## Attributes

![The Cosine Node Attributes.](https://4263346935-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLnh3x8s9fddWeG8TaAug%2Fuploads%2Fgit-blob-c690a731ad4993ede4a05c8c6a932ae98e198c2d%2Fnode-cosine2-attr.png?alt=media)

| Attribute       | Type      | Description                                                                      |
| --------------- | --------- | -------------------------------------------------------------------------------- |
| `Is Degree`     | **Bool**  | Determines whether the `Input` value is given in degrees (°) or radians (rad).   |
| `Default Value` | **Float** | The default value of `Input`, if no value is provided in the `Input` **Socket**. |

## Inputs

| Input             | Type      | Description                                                           |
| ----------------- | --------- | --------------------------------------------------------------------- |
| _Pulse Input_ (►) | **Pulse** | A standard **Input Pulse**, to trigger the execution of the **Node**. |
| `Input`           | **Float** | The angle to calculate the _cosine_ of.                               |

## Outputs

| Output             | Type      | Description                                                                                                                            |
| ------------------ | --------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| _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`.                                                                                                               |

## See Also

* [**Trigonometry**]()
* [**Arc Cosine**](arc-cosine)
* [**Radian-Degree Converter**](radian-degree-converter)

## External Links

* [_Trigonometry_](https://www.khanacademy.org/math/trigonometry) on Khan Academy.
* [_Sine, Cosine and Tangent_](https://www.mathsisfun.com/sine-Cosine-Tangent.html) on Maths is Fun.
