#19738: inconsistency in what simplify() does on trigonometrics expression
-------------------------------------------------+-------------------------
Reporter: thome | Owner:
Type: defect | Status: new
Priority: minor | Milestone: sage-7.0
Component: symbolics | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: Fixed upstream, in a later | Work issues:
stable release. | Commit:
Branch: | Stopgaps:
Dependencies: |
-------------------------------------------------+-------------------------
Description changed by rws:
Old description:
> I stumbled on the following oddity during an exercise class (sage-6.8,
> x86_64-linux, debian 8.2).
> {{{
> sage: simplify(cos(pi/12))
> 1/12*sqrt(6)*(sqrt(3) + 3)
> sage: simplify(sin(pi/12))
> -1/12*sqrt(6)*(sqrt(3) - 3)
> sage: simplify(exp(i*pi/12))
> e^(1/12*I*pi)
> }}}
> Is there any rationale for this ? It looks like an inconsistency.
>
> See https://github.com/pynac/pynac/issues/113
New description:
I stumbled on the following oddity during an exercise class (sage-6.8,
x86_64-linux, debian 8.2).
{{{
sage: simplify(cos(pi/12))
1/12*sqrt(6)*(sqrt(3) + 3)
sage: simplify(sin(pi/12))
-1/12*sqrt(6)*(sqrt(3) - 3)
sage: simplify(exp(i*pi/12))
e^(1/12*I*pi)
}}}
Is there any rationale for this ? It looks like an inconsistency.
See https://github.com/pynac/pynac/issues/113
Since this is fixed in Sage now, this ticket should provide doctests.
--
--
Ticket URL: <http://trac.sagemath.org/ticket/19738#comment:7>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.