On Fri, Sep 23, 2011 at 03:52:06PM -0700, Raymond Toy wrote:
> 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;
No, I think that should be sufficient!
Thanks very much
Dan