main
fhdm-dev 2023-09-16 17:14:41 +10:00
rodzic c106c513b9
commit c8f4497bda
1 zmienionych plików z 33 dodań i 2 usunięć

Wyświetl plik

@ -2,8 +2,39 @@
title: Math
---
COMING SOON
Scoppy can display up to two math channels that can be configured using a range of arithmetic functions.
Up to five functions and three sources can be combined to create simple or complex formulas.
## Enabling the Math Channel(s)
Tap 'Menu' and then 'Math'. From here you can switch on or off either of the math channels or tapping 'Edit' will
display the math settings screen.
## Math functions
### Unary functions
Unary functions take a single input (y).
| Function | Description | Implementation |
-----------|-------------|-|
| ABS | Absolute value | abs(y) |
| INV | Inverse | y * -1 |
| LOG | Base 10 logarithm | log(y) |
| LN | Base e logarithm | ln(y) |
| SQUARE | Squares the source | y * y |
| SQRT | The square root of the source | √y |
| RECIP | Reciprocal | 1/y |
### Binary functions
Binary functions take two inputs (y1, y2).
| Function | Description | Implementation |
-----------|-------------|----------------|
| ADD | Addition | y1 + y2 |
| SUBTRACT | Subtraction | y1 - y2 |
| MULTIPLY | Multiplication | y1 * y2 |
| DIVIDE | Division | y1 / y2 |
#### See also
<br>
{% include scoppy-links.md %}