# Mathematics

With the mathematics blocks you can assign values and do various calculations.

#### Value

Use this block to transmit values (numbers) to another Block.

#### Calculate

Use this block to sum, substract, multiplicate, divide or exponentiate numbers.

#### Mathematic operations

Use this block to perform mathematic operations, e.r. square root.

#### Constant

Use this block to insert some mathematical constants to your code.

#### The increase block

With this block you increase the value of a numeric variable by a certain value.

#### The round block

With this block you can round values. The round block the decimal numbers are set to 0. Depending on the value, the value is rounded down or up. Either way, you can choose if you want to round down or up in the settings menu.

#### The range block

With this block you can assign a range. Three values have to be set: Dieser Block sorgt dafür, dass bestimmte Grenzwerte nicht überschritten werden. Dazu müssen drei Werte eingegeben werden:
• The examined value
• The lower limit
• The upper limit

#### The Rest block

This block executes a division and returns the rest.

#### The number properties block

With this block you can check if a given number has certain properties.

#### The trigonometric functions block

With this block you can calculate sinus, cosinus and tangens with the corresponding sub-functions. Keep in mind to give the values in radians and not in degrees.

#### The distribute values block

With this block you can distribute values from a value range to another. To do this you have to give a to be distributed value and a new range.

#### The random numbers block

This block returns a random number from 0.0 to 1.0

#### The advanced random numbers block

This block returns a random whole number in the given range.