Radians and degrese



On Fri, Sep 23, 2011 at 3:23 PM, Daniel Dalton <daniel.dalton47 at gmail.com>wrote:

> Hi,
>
> I believe maxima's default mode is radians. Is it possible to change the
> default mode between degrese and radians?
>

Not that I know of.  But you can always do

sind(x) := sin(x*%pi/180);
sind(90) -> 1

asind(x) := asin(x)*180/%pi;
asind(1/2) -> 30


>
> Also, is it possible to convert between the two?
>

Of course you can define your own functions to do that:

r2d(x) := x*180/%pi;
d2r(x) := x*%pi/180;

Or were you looking for something else?

Ray