Degrees
HasTrig
check if an expression has degree-form trig functions
Calling Sequence
Parameters
Description
Examples
Compatibility
HasTrig( expr )
expr
-
any expression
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(..).
with⁡Degrees:
Degrees:-HasTrig⁡sind⁡x+1
true
Degrees:-HasTrig⁡sin⁡x+1
false
Degrees:-HasTrig⁡arcsin⁡x+1
The Degrees[HasTrig] command was introduced in Maple 2021.
For more information on Maple 2021 changes, see Updates in Maple 2021.
See Also
trigd
Download Help Document