Difference between revisions of "LeftSide Command"

From GeoGebra Manual
Jump to: navigation, search
(added braces to example)
Line 3: Line 3:
 
;LeftSide[ <Equation> ]
 
;LeftSide[ <Equation> ]
 
:Gives the left-hand side of the simplified equation.
 
:Gives the left-hand side of the simplified equation.
:{{example|1=<div><code><nowiki>LeftSide[x + 2 = 3 x + 1]</nowiki></code> yields ''x'' as  <code><nowiki>RightSide[x + 2 = 3 x + 1]</nowiki></code> yields ''0.5''.</div>}}
+
:{{example|1=<div><code><nowiki>LeftSide[x + 2 = 3 x + 1]</nowiki></code> yields ''x''.</div>}}
 
==CAS Syntax==
 
==CAS Syntax==
 
;LeftSide[ <Equation> ]
 
;LeftSide[ <Equation> ]
Line 10: Line 10:
 
;LeftSide[ <List of Equations> ]
 
;LeftSide[ <List of Equations> ]
 
:Gives the list of the left-hand sides of the equations.
 
:Gives the list of the left-hand sides of the equations.
:{{example|1=<div><code><nowiki>LeftSide[{a^2 + b^2 = c^2, x + 2 = 3 x + 1}]</nowiki></code> yields <math>{a^2 + b^2, x + 2}</math>.</div>}}
+
:{{example|1=<div><code><nowiki>LeftSide[{a^2 + b^2 = c^2, x + 2 = 3 x + 1}]</nowiki></code> yields <math> \left\{a^2 + b^2, x + 2 \right\} </math> .</div>}}
 
;LeftSide[ <List of Equations>, <Index> ]
 
;LeftSide[ <List of Equations>, <Index> ]
 
:Gives the left-hand sides of the equation specified by the index.
 
:Gives the left-hand sides of the equation specified by the index.
 
:{{example|1=<div><code><nowiki>LeftSide[{a^2 + b^2 = c^2, x + 2 = 3 x + 1}, 1]</nowiki></code> yields <math>a^2 + b^2</math>.</div>}}
 
:{{example|1=<div><code><nowiki>LeftSide[{a^2 + b^2 = c^2, x + 2 = 3 x + 1}, 1]</nowiki></code> yields <math>a^2 + b^2</math>.</div>}}
 
{{note| 1=<div>See also [[RightSide Command]].</div>}}
 
{{note| 1=<div>See also [[RightSide Command]].</div>}}

Revision as of 17:49, 23 November 2012


LeftSide[ <Equation> ]
Gives the left-hand side of the simplified equation.
Example:
LeftSide[x + 2 = 3 x + 1] yields x.

CAS Syntax

LeftSide[ <Equation> ]
Gives the left-hand side of the equation.
Example:
LeftSide[x + 3 = 3 x + 1] yields x + 3.
LeftSide[ <List of Equations> ]
Gives the list of the left-hand sides of the equations.
Example:
LeftSide[{a^2 + b^2 = c^2, x + 2 = 3 x + 1}] yields \left\{a^2 + b^2, x + 2 \right\} .
LeftSide[ <List of Equations>, <Index> ]
Gives the left-hand sides of the equation specified by the index.
Example:
LeftSide[{a^2 + b^2 = c^2, x + 2 = 3 x + 1}, 1] yields a^2 + b^2.
Note:
© 2024 International GeoGebra Institute