Difference between revisions of "CSolutions Command"

From GeoGebra Manual
Jump to: navigation, search
(Autogenerated from properties)
 
(command syntax: changed [ ] into ( ))
 
(26 intermediate revisions by 10 users not shown)
Line 1: Line 1:
+
<noinclude>{{Manual Page|version=5.0}}</noinclude> {{command|geogebra}}
<noinclude>{{Manual Page|version=4.0}}</noinclude>
+
==CAS Syntax==
{{command|CAS}}
+
;CSolutions( <Equation> )
;CSolutions[ <Equation> ]
+
:Solves a given equation for the main variable and returns a list of all solutions, allowing for complex solutions.
:{{description}}
+
:{{example|1=<code><nowiki>CSolutions(x^2 = -1)</nowiki></code> yields ''{ί, -ί}'', the complex solutions of ''x<sup>2</sup> = -1''.}}
;CSolutions[ <Equation>, <Variable> ]
+
;CSolutions( <Equation>, <Variable> )
:{{description}}
+
:Solves an equation for a given unknown variable and returns a list of all solutions, allowing for complex solutions.
 +
:{{example|1=<code><nowiki>CSolutions(a^2 = -1, a)</nowiki></code> yields ''<nowiki>{ί, -ί}</nowiki>'', the complex solutions of ''a<sup>2</sup> = -1''.}}
 +
;CSolutions( &lt;List of Equations>, &lt;List of Variables> )
 +
:Solves a set of equations for a given set of unknown variables and returns a list of all solutions, allowing for complex solutions.
 +
:{{example|1=<code><nowiki>CSolutions({y^2 = x - 1, x = 2 * y - 1}, {x, y})</nowiki></code> yields <math>\begin{pmatrix}1 + 2 ί&1 + ί\\1 - 2 ί&1 - ί\end{pmatrix}</math>, the complex solutions of ''y<sup>2</sup> = x - 1'' and ''x = 2 * y - 1''.}}
 +
{{notes| 1=<div>
 +
*The complex ί is obtained by pressing {{KeyCode|ALT + i}}.
 +
*See also [[CSolve Command]] and [[Solutions Command]].
 +
</div>}}

Latest revision as of 10:46, 12 October 2017


CAS Syntax

CSolutions( <Equation> )
Solves a given equation for the main variable and returns a list of all solutions, allowing for complex solutions.
Example: CSolutions(x^2 = -1) yields {ί, -ί}, the complex solutions of x2 = -1.
CSolutions( <Equation>, <Variable> )
Solves an equation for a given unknown variable and returns a list of all solutions, allowing for complex solutions.
Example: CSolutions(a^2 = -1, a) yields {ί, -ί}, the complex solutions of a2 = -1.
CSolutions( <List of Equations>, <List of Variables> )
Solves a set of equations for a given set of unknown variables and returns a list of all solutions, allowing for complex solutions.
Example: CSolutions({y^2 = x - 1, x = 2 * y - 1}, {x, y}) yields \begin{pmatrix}1 + 2 ί&1 + ί\\1 - 2 ί&1 - ί\end{pmatrix}, the complex solutions of y2 = x - 1 and x = 2 * y - 1.
Notes:
© 2024 International GeoGebra Institute