#20099: test improved evaluation of trigonometric functions
---------------------------+-------------------------------
   Reporter:  behackl      |            Owner:
       Type:  enhancement  |           Status:  new
   Priority:  minor        |        Milestone:  sage-7.1
  Component:  symbolics    |         Keywords:  pynac
  Merged in:               |          Authors:
  Reviewers:               |  Report Upstream:  N/A
Work issues:               |           Branch:
     Commit:               |     Dependencies:  pynac-0.6.3
   Stopgaps:               |
---------------------------+-------------------------------
 In the current [https://github.com/pynac/pynac development version of
 pynac] the evaluation of trigonometric functions has been improved. This
 enables the following behavior:
 {{{
 sage: var('k', domain='integer')
 k
 sage: sin(k*pi)
 0
 sage: cos(k*pi)
 (-1)^k
 sage: sin(1 + 2*k*pi)
 sin(1)
 sage: tan(k*pi)
 0
 sage: cos(2*k*pi + pi/3)
 1/2
 }}}
 and so on. Additionally, this introduces simplification for the complex
 exponential function:
 {{{
 sage: exp(2*k*pi*I)
 sage: 1
 }}}
 This ticket shall document these changes.

--
Ticket URL: <http://trac.sagemath.org/ticket/20099>
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.

Reply via email to