# [Maxima] how to use degree in sin function

Wolfgang Lindner LindnerW at t-online.de
Mon Jan 19 13:47:24 CST 2009

```.. or you could use a nonfunctional 'unit-like' solution:

degree:= %pi/180\$
sin(30*degree)

hth
Wolfgang

-----Ursprüngliche Nachricht-----
Von: Alexey Beshenov <al at beshenov.ru>
An: maxima at math.utexas.edu <maxima at math.utexas.edu>
Cc: ? ?? <bear.tw at hotmail.com>
Datum: Sonntag, 18. Januar 2009 17:27
Betreff: Re: [Maxima] how to use degree in sin function

On Sunday 18 January 2009 19:00:19 é»ƒ è£•é›„ wrote:
> (%i9) sin(%pi/6);
> (%o9) 1/2
> (%i10) sin(30);
> (%o10) sin(30)
>
> we have 30 degree =%pi/6 radian
> the sin function is use radian.
> how can I use degree in sin funciton
> for example
> I want input sin(30) =1/2
> I wish the students can free input degree and they can get the sin

sin_deg (30) => 1/2

--
Pungenday, Chaos 18 YOLD 3175
Alexey Beshenov  http://beshenov.ru/

_______________________________________________
Maxima mailing list
Maxima at math.utexas.edu
http://www.math.utexas.edu/mailman/listinfo/maxima

```