 HasTrig - Maple Help

Degrees

 HasTrig
 check if an expression has degree-form trig functions Calling Sequence HasTrig( expr ) Parameters

 expr - any expression Description

 • The HasTrig(expr) command returns true if the given expr contains any of sind, cosd, tand, cscd, secd, cotd.
 • This function is part of the Degrees package, so it can be used in the short form HasTrig(..) only after executing the command with(Degrees). However, it can always be accessed through the long form of the command by using Degrees:-HasTrig(..). Examples

 > $\mathrm{with}\left(\mathrm{Degrees}\right):$
 > $\mathrm{Degrees}:-\mathrm{HasTrig}\left(\mathrm{sind}\left(x\right)+1\right)$
 ${\mathrm{true}}$ (1)
 > $\mathrm{Degrees}:-\mathrm{HasTrig}\left(\mathrm{sin}\left(x\right)+1\right)$
 ${\mathrm{false}}$ (2)
 > $\mathrm{Degrees}:-\mathrm{HasTrig}\left(\mathrm{arcsin}\left(x\right)+1\right)$
 ${\mathrm{false}}$ (3) Compatibility

 • The Degrees[HasTrig] command was introduced in Maple 2021.
 • For more information on Maple 2021 changes, see Updates in Maple 2021.