Difference between revisions of "TrigSimplify Command"

From GeoGebra Manual
Jump to: navigation, search
("typo")
(command syntax: changed [ ] into ( ))
 
(11 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.2}}</noinclude>{{betamanual|version=4.2}}
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|function}}
{{command|cas=true|function}}
+
;TrigSimplify( <Expression> )
;TrigSimplify[ <Expression> ]
+
:Simplifies the given trigonometric expression.
:Simplifies the given trigonometric Expression.
+
:{{examples|1=<div>
:{{example|1=<code>TrigSimplify[1 - sin(x)^2]</code> gives ''cos²(x)''.}}
+
:*<code>TrigSimplify(1 - sin(x)^2)</code> gives ''cos²(x)''.
:{{note|1=<div> See also [[TrigExpand Command]] and [[TrigCombine Command]].</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> )
:Simplifies the given trigonometric Expression.
+
:Simplifies the given trigonometric expression.
:{{example|1=<code>TrigSimplify[sin(x)^2 - cos(x)^2 + 1 ]</code> gives ''2 sin(x)²''.}}
+
:{{examples|1=<div>
:{{note|1=<div>
+
:*<code>TrigSimplify(1 - sin(x)^2)</code> gives ''cos²(x)''
:* This command works for the variable ''x'' only! (<code>TrigSimplify[1 - sin(y)^2]</code> gives ''-sin²(y) + 1''.)
+
:*<code>TrigSimplify(sin(x)^2 - cos(x)^2 + 1)</code> gives ''2 sin²(x)''.</div>}}
:* See also [[TrigExpand Command]] and [[TrigCombine Command]].</div>}}
+
{{note|1=<div>  
 +
* 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>}}

Latest revision as of 10:02, 9 October 2017


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 Menu view algebra.svg 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:
© 2021 International GeoGebra Institute