Difference between revisions of "Solve Command"

From GeoGebra Manual
Jump to: navigation, search
Line 3: Line 3:
 
;Solve[ <Equation> ]: Solves a given equation (or a set of equations) for the variable x.
 
;Solve[ <Equation> ]: Solves a given equation (or a set of equations) for the variable x.
  
;Solutions[ <Equation>, <Variable> ]: Solves an equation (or a set of equations) for a given unknown variable (or set of variables).
+
;Solve[ <Equation>, <Variable> ]: Solves an equation (or a set of equations) for a given unknown variable (or set of variables).
  
 
: {{Example|1=&nbsp;
 
: {{Example|1=&nbsp;
 
:* <code>Solve[x^2 = 4x]</code> gives you "{x = 4, x = 0}".
 
:* <code>Solve[x^2 = 4x]</code> gives you "{x = 4, x = 0}".
 
:* <code>Solve[{x = 4 x + y , y+x = 2}, {x, y}];</code> gives you "{ {x = -1, y = 3} }".}}
 
:* <code>Solve[{x = 4 x + y , y+x = 2}, {x, y}];</code> gives you "{ {x = -1, y = 3} }".}}

Revision as of 19:02, 30 July 2011


This command works in CAS View only.

Solve[ <Equation> ]
Solves a given equation (or a set of equations) for the variable x.
Solve[ <Equation>, <Variable> ]
Solves an equation (or a set of equations) for a given unknown variable (or set of variables).
Example:  
  • Solve[x^2 = 4x] gives you "{x = 4, x = 0}".
  • Solve[{x = 4 x + y , y+x = 2}, {x, y}]; gives you "{ {x = -1, y = 3} }".
© 2024 International GeoGebra Institute