Difference between revisions of "TrigCombine Command"

From GeoGebra Manual
Jump to: navigation, search
m (spacing)
Line 6: Line 6:
 
;TrigCombine[ <Expression>, <Target Function> ]
 
;TrigCombine[ <Expression>, <Target Function> ]
 
:Transformes a trigonometric expression including products of trigonometric functions into an expression without products involving sums of variables, preferring the given target function.
 
:Transformes 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:31, 23 July 2012

This command works in CAS View only.

TrigCombine[ <Expression> ]
Transformes 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> ]
Transformes 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).
© 2024 International GeoGebra Institute