ConvertToDegreeForm - Maple Help

Degrees

 ConvertToDegreeForm
 convert a trig function from radians to degrees
 convert a trig function from degrees to radians

 Calling Sequence ConvertToDegreeForm( expr, opts ) ConvertToRadForm( expr, opts )

Parameters

 expr - any expression

Options

 • verbatim = true or false
 • inertverbatim = true or false
 When true, swap trig functions without any conversion factors.  The default is false.
 • onlyconst = true or false
 When true, swap trig functions converting only additive constants.  The default is false.

Description

 • The ConvertToDegreeForm(expr) command converts all occurences of trigonometric and inverse trigonometric functions within expr from their radian form to their corresponding degrees form.  That is, sind(x) is converted to sin(180/Pi*x), and arcsin(x) is converted to Pi/180*arcsin(x).
 • The ConvertToRadForm(expr) command does the reverse of ConvertToDegreeForm, converting all occurences of trigonometric and inverse trigonometric functions within expr from their degree form to their corresponding radians form.  That is, sind(x) is converted to sin(Pi/180*x), and arcsind(x) is converted to 180/Pi*arcsin(x).
 • This function is part of the Degrees package, so it can be used in the short form ConvertToDegreeForm(..) only after executing the command with(Degrees). However, it can always be accessed through the long form of the command by using Degrees:-ConvertToDegreeForm(..).

Examples

 > $\mathrm{with}\left(\mathrm{Degrees}\right):$
 > $a≔\mathrm{ConvertToDegreeForm}\left(\mathrm{sin}\left(x\right)+\mathrm{arccos}\left(x\right)+3\right)$
 ${a}{≔}{\mathrm{sind}}{}\left(\frac{{180}{}{x}}{{\mathrm{\pi }}}\right){+}\frac{{\mathrm{\pi }}{}{\mathrm{arccosd}}{}\left({x}\right)}{{180}}{+}{3}$ (1)
 > $\mathrm{ConvertToRadForm}\left(a\right)$
 ${\mathrm{sin}}{}\left({x}\right){+}{\mathrm{arccos}}{}\left({x}\right){+}{3}$ (2)

Compatibility

 • The Degrees[ConvertToDegreeForm] and Degrees[ConvertToRadForm] commands were introduced in Maple 2021.