Wilang Documentation1.0.0+4

expand#

Expand products and powers in an expression.

Available in: math cells, REPL.

Syntax#

expand(expression)

Arguments and behavior#

Pass quoted expressions and variable names. Numeric assignments earlier in the note can substitute into coefficients. Results are displayed symbolic text or numbers, not objects with .evaluate methods. The example returns scalar (number).

Example#

Edit the inputs, then use Run or Reset. Changes stay in this example.

Example
expand(2)

Expected result: 2.

All functions · Math guides