The new math app for students! Discover and create your algorithms to play with maths, with a natural and easy-to-use language.

Love the app? Donate and encourage us to go further in our work!

Numbers from `0`

to `9`

can be used in maths expressions.

__Examples:__ `2`

, `32`

, ...

Variables are a letter from `a`

to `z`

or a letter of greek alphabet. Warning: name can be only one character long!

__Examples:__ `a`

, `x`

, ...

You can give an index to a variable using an `_`

(underscore) after the name. An index can be only one number or one letter.

__Examples:__ `x_1`

, `x_2`

, ...

Variable can be also a function of a variable if you name it like `f(x)`

. Then you can use it with any expression like `f(2)`

.

__Examples:__ `f(x)`

, `g(z)`

, ...

What would be maths without operations between numbers? You can use classic operations: `+`

(addition), `-`

(subtraction), `*`

(multiplication) and `/`

(division).

__Examples:__ `x + 1`

, `1 / x`

, ...

You can also use `^`

(power) and `√`

(square root) in your expressions. If the expression after the operation sign is a composed expression, please add `()`

(braces) to it. (see examples)

__Examples:__ `x ^ 2`

, `2√2`

, `√(x+1)`

, ...

Modulo (remainder of a division) is available with `%`

. For exemple, `5 % 2`

will return `1`

because `5 = 2 * 2 + 1`

.

__Examples:__ `5 % 2`

, `a % b`

, ...

Having two expressions seperated with an equation operator will be considerated as an equation. You can use `=`

(equals), `!=`

(unequals), `>`

(greater than), `<`

(less than), `>=`

(greater than or equals) and `<=`

(less than or equals).

__Examples:__ `x = 2`

, `2a < 5`

, ...

You can create a list/set of expressions using `{}`

, separating expressions with `,`

(coma).

__Examples:__ `{2, 4, 6}`

, `{x, 2x, 3x}`

, ...

`variable`

with default `value`

Create a cell to set a value to the variable for algorithm process.

__Example:__ Ask for `a`

with default `1`

Parameter | Role |
---|---|

`variable` | Variable name |

`value` | Default value in the cell |

`variable`

to `value`

Set the value of the variable when called.

__Example:__ Set `n`

to `n + 1`

Parameter | Role |
---|---|

`variable` | Variable name |

`value` | Value given to the variable |

`condition`

... Else ... EndIf the condition is true, the code between If and Else will be executed. Else, the code between Else and End will be executed.

__Example:__ If `a = 1`

... Else ... End

Parameter | Role |
---|---|

`condition` | The equation that will be checked |

`condition`

... EndThe code between While and End will be repeated while the condition is true.

__Example:__ While `a < 10`

... End

Parameter | Role |
---|---|

`condition` | The equation that will be checked |

`variable`

in `list`

... EndThe code between For and End will be repeated for each value of the list, available in a variable.

__Example:__ For `x`

in `{0, 1, 2}`

... End

Parameter | Role |
---|---|

`variable` | The variable containing the current value |

`list` | The list of values to iterate |

`variable`

Print in a cell the value of the variable or the expression.

__Example:__ Print variable `x`

Parameter | Role |
---|---|

`variable` | Variable name or expression |

`text`

Print in a cell the given text. You can use `""`

to print a variable in the text.

__Example:__ Print text `"n" is even`

Parameter | Role |
---|---|

`text` | Text to be printed |