convert/tan - Maple Programming Help

# Online Help

###### All Products    Maple    MapleSim

Home : Support : Online Help : Programming : Data Types : Conversion : convert/tan

convert/tan

convert trig function to tan

 Calling Sequence convert(expr, tan)

Parameters

 expr - expression with trigonometric functions

Description

 • The convert/tan function converts all trigonometric functions appearing in the expression to tan.

Examples

 > $f≔\mathrm{sin}\left(x\right)\mathrm{cos}\left(x\right)$
 ${f}{≔}{\mathrm{sin}}{}\left({x}\right){}{\mathrm{cos}}{}\left({x}\right)$ (1)
 > $\mathrm{convert}\left(f,\mathrm{tan}\right)$
 $\frac{{2}{}{\mathrm{tan}}{}\left(\frac{{1}}{{2}}{}{x}\right){}\left({1}{-}{{\mathrm{tan}}{}\left(\frac{{1}}{{2}}{}{x}\right)}^{{2}}\right)}{{\left({1}{+}{{\mathrm{tan}}{}\left(\frac{{1}}{{2}}{}{x}\right)}^{{2}}\right)}^{{2}}}$ (2)

 See Also

## Was this information helpful?

 Please add your Comment (Optional) E-mail Address (Optional) What is ? This question helps us to combat spam