Difference between revisions of "Solutions Command"

From GeoGebra Manual
Jump to: navigation, search
(Autogenerated from properties)
Line 2: Line 2:
 
<noinclude>{{Manual Page|version=4.0}}</noinclude>
 
<noinclude>{{Manual Page|version=4.0}}</noinclude>
 
{{command|CAS}}
 
{{command|CAS}}
;Solutions[ <Equation> ]
+
;Solutions[ <Equation> ]: Solves a given equation (or a set of equations) for the variable x and returns a list of all solutions.
:{{description}}
+
 
;Solutions[ <Equation>, <Variable> ]
+
;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.
:{{description}}
+
 
 +
: {{Example|1=&nbsp;
 +
:* <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} }''.}}

Revision as of 12: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} }.
© 2024 International GeoGebra Institute