Difference between revisions of "Expand Command"

From GeoGebra Manual
Jump to: navigation, search
m (Text replace - "<div class="box info"> 48px|left This page is part of the official manual for print and pdf. For structural reasons normal users can't edit this page. If you found any errors on this page please contact )
(command syntax: changed [ ] into ( ))
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.2}}</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|algebra}}
{{command|cas=true|algebra}}
+
;Expand( <Expression> )
;Expand[ <Function> ]
+
:Expands the expression.
:Expands the function expression.
+
:{{example|1=<code><nowiki>Expand((2 x - 1)^2 + 2 x + 3)</nowiki></code> yields <math>4 x^2 - 2 x + 4</math>.}}
:{{example|1=<div><code><nowiki>Expand[(2 x - 1)^2 + 2 x + 3]</nowiki></code> yields <math>4 x^2 - 2 x + 4</math>.</div>}}
+
{{note| 1=This command needs to load the Computer Algebra System, so can be slow on some computers. Try using the [[Polynomial Command]] instead.}}
 +
 
 
==CAS Syntax==
 
==CAS Syntax==
;Expand[ <Function> ]
+
;Expand( <Expression> )
:Expands the function expression.
+
:Expands the expression.
:{{example|1=<div><code><nowiki>Expand[(2 x - 1)^2 + 2 x + 3]</nowiki></code> yields <math>4 x^2 - 2 x + 4</math>.</div>}}
+
:{{example|1=<code><nowiki>Expand((2 x - 1)^2 + 2 x + 3)</nowiki></code> yields <math>4 x^2 - 2 x + 4</math>.}}

Latest revision as of 12:48, 5 October 2017


Expand( <Expression> )
Expands the expression.
Example: Expand((2 x - 1)^2 + 2 x + 3) yields 4 x^2 - 2 x + 4.
Note: This command needs to load the Computer Algebra System, so can be slow on some computers. Try using the Polynomial Command instead.

CAS Syntax

Expand( <Expression> )
Expands the expression.
Example: Expand((2 x - 1)^2 + 2 x + 3) yields 4 x^2 - 2 x + 4.
© 2024 International GeoGebra Institute