Difference between revisions of "Simplify Command"
From GeoGebra Manual
Line 9: | Line 9: | ||
; Simplify[Text]: | ; Simplify[Text]: | ||
Attempts to tidy up text expressions by removing repeated negatives etc, e.g. for ''a=b=c=-1'' | Attempts to tidy up text expressions by removing repeated negatives etc, e.g. for ''a=b=c=-1'' | ||
− | <code>Simplify["f(x) = "+a+"x²+"+b+"x+"+c]</code> returns | + | <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.}} | ||
== CAS Syntax == | == CAS Syntax == | ||
{{description}} | {{description}} |
Revision as of 12:51, 8 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, e.g. 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
Description of command / feature needed. Please enter it instead of this template into Manual:Simplify Command. so that it's included also to the public namespace. For more details see Project:HowTo |