If you are interested in numeric evaluation, sympy also includes mpmath which does include sinc.

>>> sympy.mpmath.sinc(0)
mpf('1.0')

This shouldn't be necessary once sympy gets sinc itself since it will use mpmath transparently for numeric calculations.

Ted

On 2010-06-02, at 15:37, Scott wrote:


I submitted the  issue for the cot(0)=0

In [41]: (x/sin(x)).series(x, 0, 8)
Out[41]: 1 + x**2/6 + 7*x**4/360 + 31*x**6/15120 + O(x**7)

How do I take the output from series extract the coefficient and use
it via poly1d ala taylor in mpmath?

Knowing that sin( x)/x= sinc(c) was a great tip.

Thanks

Scott


--
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sy...@googlegroups.com.
To unsubscribe from this group, send email to 
sympy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to