Difference between revisions of "Solve Command"
From GeoGebra Manual
Line 7: | Line 7: | ||
: {{Example|1= | : {{Example|1= | ||
:* <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>Solve[{x = 4 x + y , y+x = 2}, {x, y}]</code> gives you "{ {x = -1, y = 3} }".}} |
Revision as of 19:34, 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} }".