Difference between revisions of "Solutions Command"
From GeoGebra Manual
Line 9: | Line 9: | ||
:* <code>Solutions[x^2 = 4x]</code> gives you "{4, 0}" | :* <code>Solutions[x^2 = 4x]</code> gives you "{4, 0}" | ||
:* <code>Solutions[{x = 4 x + y , y+x = 2}, {x, y}];</code> gives you ''{ {-1, 3} }''.}} | :* <code>Solutions[{x = 4 x + y , y+x = 2}, {x, y}];</code> gives you ''{ {-1, 3} }''.}} | ||
+ | |||
+ | {{Note|See also [[Solve Command]].}} |
Revision as of 13:40, 28 July 2011
This command works in CAS View only.
- Solutions[ <Equation> ]
- Solves a given equation (or a set of equations) for the variable x and returns a list of all solutions.
- Solutions[ <Equation>, <Variable> ]
- Solves an equation (or a set of equations) for a given unknown variable (or set of variables) and returns a list of all solutions.
- Example:
Solutions[x^2 = 4x]
gives you "{4, 0}"Solutions[{x = 4 x + y , y+x = 2}, {x, y}];
gives you { {-1, 3} }.
Note: See also Solve Command.