Sign up ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Does Maple give the possibility to switch between degrees and radians while making calculations? If so, how do you switch?

share|cite|improve this question

closed as off-topic by Bill Dubuque, Alexander Konovalov, Matt Samuel, Newb, Adam Hughes Mar 6 at 1:14

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question is not about mathematics, within the scope defined in the help center." – Bill Dubuque, Alexander Konovalov, Matt Samuel, Newb, Adam Hughes
If this question can be reworded to fit the rules in the help center, please edit the question.

3 Answers 3

up vote 5 down vote accepted

Maple doesn't have "degree mode". But you could simply define the trig functions you need, and theu use them to do what you want.

For example on a line after the prompt > write

degsin := x-> sin( x*Pi/180);

and after that use "degsin" where you want sine of an angle in degrees.

Do the same for the other five direct trig functions cos,tan, etc.

For the inverse trig functions, the change is done after evaluation, so that you could define for example

degarctan := x -> (180/Pi)*arctan(x);

and similarly for the other five inverse trig functions.

You'd have to set these up every session, or there are ways in maple to store them in a file somwhere and load it at use time.

share|cite|improve this answer

I found out that Maple has a function called convert(). It can be used to switch between degrees and radians back and forth like this:



Always include the *degrees though when inputting degrees that you want converted to radians.
To automize it a bit one could use this setup:


Here v is as an example set as 45 degrees, which is then converted to radians and redefined as v.
Just for your information.

share|cite|improve this answer

If you are from Denmark, who uses degrees in trigonometry, it is possible to use the package addon, and then at the start of the worksheet type "with(Gym)". Then you can use "Sin("angle")" and remember to use capital S. and if you want to invert use "invSin("angle"). You can easily see the commands in the help file although the help file is in danish.

I hope this helps.

share|cite|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.