Difference between revisions of "RightSide Command"

From GeoGebra Manual
Jump to: navigation, search
(command syntax: changed [ ] into ( ))
 
(16 intermediate revisions by 10 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.0}}</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>  
{{command|CAS}}
+
{{command|algebra}}
;RightSide[ <Equation> ]
+
;RightSide( <Equation> )
:Returns the right-hand side of the equation.
+
:Gives the right-hand side of the simplified equation.
:{{Example|1=<code>RightSide[ x + 2 = 3x + 1 ]</code> returns ''3x + 1''.}}
+
:{{example|1=<div><code><nowiki>RightSide(x + 2 = 3x + 1)</nowiki></code> yields ''0.5'' </div>}}
;RightSide[ { <Equation> } ]
+
==CAS Syntax==
:Returns the right-hand side of the equation (if you use a list of multiple equations as input, right-hand side of the first one is returned).
+
;RightSide( <Equation> )
:{{example|1=<div><code><nowiki>RightSide[{a^2 + b^2 = c^2, x + 2 = 3x + 1}]</nowiki></code> yields ''{c<sup>2</sup>, 3x + 1}''.</div>}}
+
:Gives the right-hand side of the equation.
 +
:{{example|1=<div><code><nowiki>RightSide(x + 3 = 3 x + 1)</nowiki></code> yields ''3 x + 1''.</div>}}
 +
;RightSide( &lt;List of Equations> )
 +
:Gives the list of the right-hand sides of the equations.
 +
:{{example|1=<div><code><nowiki>RightSide({a^2 + b^2 = c^2, x + 2 = 3x + 1})</nowiki></code> yields ''{c<sup>2</sup>, 3x + 1}''.</div>}}
 +
;RightSide( &lt;List of Equations>, <Index> )
 +
:Gives the right-hand sides of the equation specified by the index.
 +
:{{example|1=<div><code><nowiki>RightSide({a^2 + b^2 = c^2, x + 2 = 3 x + 1}, 1)</nowiki></code> yields <math>c^2</math>.</div>}}
 
{{note| 1=<div>See also [[LeftSide Command]].</div>}}
 
{{note| 1=<div>See also [[LeftSide Command]].</div>}}

Latest revision as of 12:03, 5 October 2017


RightSide( <Equation> )
Gives the right-hand side of the simplified equation.
Example:
RightSide(x + 2 = 3x + 1) yields 0.5

CAS Syntax

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