Difference between revisions of "Solve Command"
From GeoGebra Manual
(Autogenerated from properties) |
|||
Line 1: | Line 1: | ||
− | |||
<noinclude>{{Manual Page|version=4.0}}</noinclude> | <noinclude>{{Manual Page|version=4.0}}</noinclude> | ||
{{command|CAS}} | {{command|CAS}} | ||
− | ;Solve[ <Equation | + | ;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). | |
− | + | ||
+ | : {{Example|1= | ||
+ | :* <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} }".}} |
Revision as of 15:03, 28 July 2011
This command works in CAS View only.
- 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).
- 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} }".