Difference between revisions of "CSolutions Command"

From GeoGebra Manual
Jump to: navigation, search
Line 3: Line 3:
 
;CSolutions[ <Equation> ]
 
;CSolutions[ <Equation> ]
 
:Solves a given equation (or a set of equations) for the variable x and returns a list of all solutions, allowing for complex solutions.
 
:Solves a given equation (or a set of equations) for the variable x and returns a list of all solutions, allowing for complex solutions.
:{{Example|1=<div><code><nowiki>CSolutions[x^2 = 1]</nowiki></code> gives ''{{ί}, {-ί}}'', the solutions of ''x<sup>2</sup> = 1''.</div>}}
+
:{{Example|1=<div><code><nowiki>CSolutions[x^2 = -1]</nowiki></code> gives ''{{ί}, {-ί}}'', the solutions of ''x<sup>2</sup> = -1''.</div>}}
 
;CSolutions[ <Equation>, <Variable> ]
 
;CSolutions[ <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, allowing for complex solutions.
 
:Solves an equation (or a set of equations) for a given unknown variable (or set of variables) and returns a list of all solutions, allowing for complex solutions.

Revision as of 08:15, 8 August 2011


This command works in CAS View only.

CSolutions[ <Equation> ]
Solves a given equation (or a set of equations) for the variable x and returns a list of all solutions, allowing for complex solutions.
Example:
CSolutions[x^2 = -1] gives {{ί}, {-ί}}, the solutions of x2 = -1.
CSolutions[ <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, allowing for complex solutions.
Example:
CSolutions[{y^2 = x- 1, x = 2 * y - 1}, {x, y}] gives {{1 + 2 ί, 1 + ί}, {1 - 2 ί,1 - ί}}, the complex solutions of y2 = x and x = 2 * y - 1.
Note:
© 2024 International GeoGebra Institute