[Maxima] Simplifying atan2 WAS: bugs, features?
Richard Hennessy
richhen2008 at gmail.com
Mon Jul 27 23:14:41 CDT 2009
Maybe you need a mod() to floor() conversion routine. Then the standard
form would be to use the floor() function.
Rich
On Tue, Jul 28, 2009 at 12:07 AM, Barton Willis <willisb at unk.edu> wrote:
> For real x, atan2(sin(x),cos(x)) = %pi - mod(%pi - x, 2 * %pi) is an
> identity.
> But %pi - mod(%pi - x, 2 * %pi) can be a mess too.
>
> Barton
>
> -----maxima-bounces at math.utexas.edu wrote: -----
>
> >Usually when you see terms like atan2(sin(x),cos(x)), the substantively
> >correct result is x, that is, the analytic continuation of the -%pi < x <
> >%pi case.
>
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.math.utexas.edu/pipermail/maxima/attachments/20090728/05fafb9c/attachment-0001.htm
More information about the Maxima
mailing list