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

Trigonometric and Hyperbolic Functions in the Simple Units Environment

Description

 • In the Simple Units environment, any verifications of valid dimensions ignore so-called Unit annotations.
 • In the Simple Units environment, the arguments for the trigonometric or hyperbolic functions is unit-free. With the approach used in this environment, this includes plane angles. An error is returned if the dimension of the argument is not unit-free.
 • Every command in the Simple Units environment that needs to determine whether an expression is valid or not, does so using the Units:-TestDimensions command.
 • If the argument has a unit of angle, it is converted to a free expression in the call to the corresponding global function.  Therefore, a call to sin(7*deg) returns as sin(7/180*Pi), because $1$ degree equals $\frac{\mathrm{\pi }}{180}$ radians.
 • For other properties, see the global functions in the trig help page.

Examples

Notes:

 – To enter a unit in 2-D Math input, select the unit from the appropriate Units palette. If the unit you want is not there, select $\mathrm{unit}$ and then enter the unit.
 – When you edit a unit, double brackets appear around it.
 > $\mathrm{with}\left(\mathrm{Units}\left[\mathrm{Simple}\right]\right):$
 > $\mathrm{sin}\left(3\mathrm{Unit}\left('\mathrm{deg}'\right)\right)$
 ${\mathrm{sin}}{}\left(\frac{{\mathrm{\pi }}}{{60}}\right)$ (1)
 > $\mathrm{sin}\left(180\mathrm{Unit}\left('\mathrm{deg}'\right)\right)$
 ${0}$ (2)
 > $\mathrm{cos}\left(172.\mathrm{Unit}\left('\mathrm{deg}'\right)+40.\mathrm{Unit}\left('\mathrm{arcmin}'\right)+10.32\mathrm{Unit}\left('\mathrm{arcsec}'\right)\right)$
 ${-0.9918267366}$ (3)