Difference between revisions of "TrigCombine Command"
From GeoGebra Manual
(typo: transformes->transforms) |
|||
Line 2: | Line 2: | ||
{{command|function}} | {{command|function}} | ||
;TrigCombine[ <Expression> ] | ;TrigCombine[ <Expression> ] | ||
− | : | + | :Transforms a trigonometric expression including products of trigonometric functions into an expression without products involving sums of variables. |
:{{example|1=<code>TrigCombine[sin(x) cos(3x)]</code> gives <math>\frac{sin(4x)-sin(2x)}{2}</math>.}} | :{{example|1=<code>TrigCombine[sin(x) cos(3x)]</code> gives <math>\frac{sin(4x)-sin(2x)}{2}</math>.}} | ||
;TrigCombine[ <Expression>, <Target Function> ] | ;TrigCombine[ <Expression>, <Target Function> ] | ||
− | : | + | :Transforms a trigonometric expression including products of trigonometric functions into an expression without products involving sums of variables, preferring the given target function. |
:{{example|1=<code>TrigCombine[(tan(p) + tan(q)) / (1 - tan(p) tan(q)), tan(x)]</code> gives ''tan(p + q)''.}} | :{{example|1=<code>TrigCombine[(tan(p) + tan(q)) / (1 - tan(p) tan(q)), tan(x)]</code> gives ''tan(p + q)''.}} | ||
{{note|See also [[TrigExpand Command]] and [[TrigSimplify Command]].}} | {{note|See also [[TrigExpand Command]] and [[TrigSimplify Command]].}} |
Revision as of 08:50, 25 July 2012
This page is about a feature that is supported only in GeoGebra 4.2. |
- TrigCombine[ <Expression> ]
- Transforms a trigonometric expression including products of trigonometric functions into an expression without products involving sums of variables.
- Example:
TrigCombine[sin(x) cos(3x)]
gives \frac{sin(4x)-sin(2x)}{2}.
- TrigCombine[ <Expression>, <Target Function> ]
- Transforms a trigonometric expression including products of trigonometric functions into an expression without products involving sums of variables, preferring the given target function.
- Example:
TrigCombine[(tan(p) + tan(q)) / (1 - tan(p) tan(q)), tan(x)]
gives tan(p + q).
Note: See also TrigExpand Command and TrigSimplify Command.