sin, cos - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

convert/sincos

convert trig functions to sin, cos, sinh, cosh

 Calling Sequence convert( expr, sincos ) convert( expr, sincos, x )

Parameters

 expr - any expression x - (optional) name or list or set of names

Description

 • convert/sincos converts all trigonometric functions appearing in the expression to sin and cos, and converts all hyperbolic trigonometric functions to sinh and cosh.
 • If the optional parameter x is specified, then only those functions that depend on the variables in x will be converted.

Examples

 > $\mathrm{convert}\left(\mathrm{cot}\left(x\right),\mathrm{sincos}\right)$
 $\frac{{\mathrm{cos}}{}\left({x}\right)}{{\mathrm{sin}}{}\left({x}\right)}$ (1)
 > $\mathrm{convert}\left(\mathrm{tanh}\left(x\right),\mathrm{sincos}\right)$
 $\frac{{\mathrm{sinh}}{}\left({x}\right)}{{\mathrm{cosh}}{}\left({x}\right)}$ (2)
 > $\mathrm{convert}\left(\mathrm{sec}\left(\mathrm{sec}\left(x\right)\mathrm{coth}\left(a\right)\right)\mathrm{tan}\left(b\right),\mathrm{sincos},\left\{x,b\right\}\right)$
 $\frac{{\mathrm{sin}}{}\left({b}\right)}{{\mathrm{cos}}{}\left(\frac{{\mathrm{coth}}{}\left({a}\right)}{{\mathrm{cos}}{}\left({x}\right)}\right){}{\mathrm{cos}}{}\left({b}\right)}$ (3)