Difference between revisions of "Simplify Command"
From GeoGebra Manual
Line 8: | Line 8: | ||
; Simplify[Text] | ; Simplify[Text] | ||
− | :Attempts to tidy up text expressions by removing repeated negatives etc | + | :Attempts to tidy up text expressions by removing repeated negatives etc. |
− | <code>Simplify["f(x) = "+a+"x²+"+b+"x+"+c]</code> returns "f(x)=-x^2-x-1". | + | {{Example| 1=<br/> for ''a=b=c=-1'' <code>Simplify["f(x) = "+a+"x²+"+b+"x+"+c]</code> returns "f(x)=-x^2-x-1".}} |
{{Note| The [[FormulaText Command]] normally produces better results and is simpler.}} | {{Note| The [[FormulaText Command]] normally produces better results and is simpler.}} | ||
Revision as of 13:07, 9 August 2011
- Simplify[Function]
- Simplifies the terms of the given function, if possible.
Example:
Simplify[x + x + x]
gives you a function f(x) = 3x.
- Simplify[Text]
- Attempts to tidy up text expressions by removing repeated negatives etc.
Example:
for a=b=c=-1
for a=b=c=-1
Simplify["f(x) = "+a+"x²+"+b+"x+"+c]
returns "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]
gives you x*(a+7).