AVALWITH

From iMath
Revision as of 19:16, 15 October 2018 by Jrheinlaender (Talk | contribs) (Created page with "{{Keyword | <code>AVALWITH ( expression, equation|equation list )</code> | Try to find a value for the expression from any equations defined previously in th...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Syntax

AVALWITH ( expression, equation|equation list )


Implemented in iMath since version 2.2.6.

Explanation

Try to find a value for the expression from any equations defined previously in the document, plus the equations given as the second argument. The expression will not be reduced to floats, e.g. square roots of rational numbers and transcendental functions will remain in the result. If you want to force a conversion to floats, use VALWITH or QUANTITYWITH instead.


Example

EQDEF a = 3 x

EXDEF AVALWITH(a^x, x = 1 over 2)

This will output sqrt{3}.

See also

QUANTITY QUANTITYWITH NUMVAL NUMVALWITH VAL VALWITH AVAL UNIT UNITWITH