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")Interactive examples could not load. You can still copy the expressions.
Expected result: [3, -3].