Difference between revisions of "TrigSimplify Command"
From GeoGebra Manual
m |
(moved note related to Algebra View in the first section) |
||
Line 5: | Line 5: | ||
:*<code>TrigSimplify[1 - sin(x)^2]</code> gives ''cos²(x)''. | :*<code>TrigSimplify[1 - sin(x)^2]</code> gives ''cos²(x)''. | ||
:*<code>TrigSimplify[sin(x)^2 - cos(x)^2 + 1]</code> gives ''2 sin²(x)''.</div>}} | :*<code>TrigSimplify[sin(x)^2 - cos(x)^2 + 1]</code> gives ''2 sin²(x)''.</div>}} | ||
+ | {{note|1=This command works only for variables "x", "y" and "z" in the [[File:Menu view algebra.svg|link=|16px]] [[Algebra View]]}} | ||
+ | |||
==CAS Syntax== | ==CAS Syntax== | ||
;TrigSimplify[ <Expression> ] | ;TrigSimplify[ <Expression> ] | ||
Line 12: | Line 14: | ||
:*<code>TrigSimplify[sin(x)^2 - cos(x)^2 + 1]</code> gives ''2 sin²(x)''.</div>}} | :*<code>TrigSimplify[sin(x)^2 - cos(x)^2 + 1]</code> gives ''2 sin²(x)''.</div>}} | ||
{{note|1=<div> | {{note|1=<div> | ||
− | * This command works for all variables in the [[File:Menu view cas.svg|link=|16px]] [[CAS View]] | + | * This command works for all variables in the [[File:Menu view cas.svg|link=|16px]] [[CAS View]] |
* See also [[TrigExpand Command]] and [[TrigCombine Command]].</div>}} | * See also [[TrigExpand Command]] and [[TrigCombine Command]].</div>}} |
Revision as of 13:13, 30 August 2015
- TrigSimplify[ <Expression> ]
- Simplifies the given trigonometric expression.
- Examples:
TrigSimplify[1 - sin(x)^2]
gives cos²(x).TrigSimplify[sin(x)^2 - cos(x)^2 + 1]
gives 2 sin²(x).
Note: This command works only for variables "x", "y" and "z" in the Algebra View
CAS Syntax
- TrigSimplify[ <Expression> ]
- Simplifies the given trigonometric expression.
- Examples:
TrigSimplify[1 - sin(x)^2]
gives cos²(x)TrigSimplify[sin(x)^2 - cos(x)^2 + 1]
gives 2 sin²(x).
Note:
- This command works for all variables in the CAS View
- See also TrigExpand Command and TrigCombine Command.