convert/sectan - Maple Help

convert/sectan

convert trigonometric functions to sec, tan, sech, tanh

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

Parameters

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

Description

 • convert/sectan converts all trigonometric functions appearing in the expression to sec and tan, and converts all hyperbolic functions to sech and tanh.
 • 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{sin}\left(x\right),\mathrm{sectan}\right)$
 $\frac{{\mathrm{tan}}{}\left({x}\right)}{{\mathrm{sec}}{}\left({x}\right)}$ (1)
 > $\mathrm{convert}\left(\mathrm{csch}\left(x\right),\mathrm{sectan}\right)$
 $\frac{{\mathrm{sech}}{}\left({x}\right)}{{\mathrm{tanh}}{}\left({x}\right)}$ (2)
 > $\mathrm{convert}\left(\mathrm{cot}\left(\mathrm{cot}\left(x\right)\mathrm{csch}\left(a\right)\right)\mathrm{sin}\left(b\right),\mathrm{sectan},\left\{b,x\right\}\right)$
 $\frac{{\mathrm{tan}}{}\left({b}\right)}{{\mathrm{tan}}{}\left(\frac{{\mathrm{csch}}{}\left({a}\right)}{{\mathrm{tan}}{}\left({x}\right)}\right){}{\mathrm{sec}}{}\left({b}\right)}$ (3)