Wilang Documentation1.0.0+4

solve#

Find solutions of an algebraic equation.

Available in: math cells, REPL.

Syntax#

solve(equation, variable)

Arguments and behavior#

Quote equations containing =, and pass the variable to solve for. Results can include multiple roots. Check candidate roots in the original equation; symbolic solvers have limitations. The example returns text.

Example#

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

Example
solve("x^2=9","x")

Expected result: [3, -3].

All functions · Math guides