KmPlot uses a common way of expressing mathematical functions, so you should have no trouble working it out. The operators KmPlot understands are, in order of decreasing precedence:
The caret symbol performs exponentiation. for example,,
2^4
returns 16.
The asterisk and slash symbols perform multiplication and
division . for example,,
3*4/2
returns 6.
The plus and minus symbols perform addition and
subtraction. for example,, 1+3-2
returns 2.
Note the precedence, which means that if parentheses are not used,
exponentiation is performed before multiplication/division, which is performed
before addition/subtraction. So 1+2*4^2
returns 33, and
not, say 144. To override this, use parentheses. To use the above example,
((1+2)*4)^2
will return 144.
Would you like to comment or contribute an update to this page?
Send feedback to the TDE Development Team