code:formulas

SyMAT formulas are stored as string variables. It is recommended for clarity to use single quotes (' ') for formulas and double quotes (“ ”) for normal text, however in Java double quotes must be used.

Formulas are processed with a dedicated engine, and have different rules from normal code. The best way to show the format is to give some examples.

sin[x^2] (x/3)*(cos[x]^2)

Functions use square brackets, and you don't have to use pow(x,y) to raise a number to a power.

code/formulas.txt · Last modified: 2019/04/16 02:40 (external edit)