---
description: This page was last updated for version v1.2.0
---

# Variable

## Format

`var ...` or `variable ...`

## Usage

1. Write the name of the variable which you wanna update.
2. Insert operator like `=`, `+=`, `-=`, `*=` etc.
3. Then write the equation you'd like

## **Supported Functions**

* Trigonometric functions: `sin(x)`, `cos(x)`, `tan(x)`, `cot(x)`, `sec(x)`, `cosec(x)`, `asin(x)`, `acos(x)`
* Square root: `sqrt(x)`
* Power: `^`
* [atan2](https://en.wikipedia.org/wiki/Atan2): `atan(x,y)`,
* Absolute value: `abs(x)`
* Others: `*`, `/`, `+`, `-`, `% (remainder)`

## Examples

1. `variable r=2*{PI}*{i}/32`
2. `variable x=cos({r})`
3. `var y=sin({r})`
4. `var z=sqrt({x}^2 + 5*{x} - 3) % abs({x})`
