Difference between revisions of "Simplify Command"
From GeoGebra Manual
m (Bot: Automated text replacement (-{{command +{{command|cas=true)) |
|||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> | <noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> | ||
{{command|cas=true|algebra}} | {{command|cas=true|algebra}} | ||
− | ;Simplify[ <Function>] | + | ;Simplify[ <Function> ] |
:Simplifies the terms of the given function, if possible. | :Simplifies the terms of the given function, if possible. | ||
:{{example| 1=<div><code><nowiki>Simplify[x + x + x]</nowiki></code> yields the function ''f(x) = 3x''.</div>}} | :{{example| 1=<div><code><nowiki>Simplify[x + x + x]</nowiki></code> yields the function ''f(x) = 3x''.</div>}} |
Revision as of 21:28, 17 November 2012
- Simplify[ <Function> ]
- Simplifies the terms of the given function, if possible.
- Example:
Simplify[x + x + x]
yields the function f(x) = 3x.
- Simplify[ <Text> ]
- Attempts to tidy up text expressions by removing repeated negatives etc.
- Example:For a=b=c=-1
Simplify["f(x) = " + a + "x² + " + b + "x + " + c]
yields f(x)=-x^2 - x - 1.
- Note: The FormulaText Command normally produces better results and is simpler.
CAS Syntax
- Simplify[ <Function> ]
- Simplifies the terms of the given function, if possible. Undefined variables can be included in the terms.
- Example:
Simplify[3 * x + 4 * x + a * x]
yields x * (a + 7).