The series exists, and has the 1/x term in general, but it is missing
the shift by pi/2:

http://www.wolframalpha.com/input/?i=tan%28x%29+series+at+x%3Dpi%2F2

So I think there is a bug.

Ondrej

On Sat, Jun 7, 2014 at 1:23 PM, Aaron Meurer <asmeu...@gmail.com> wrote:
> I think what you're getting is a generalized Lambert series. Notice
> that one of the terms is 1/x.
>
> Aaron Meurer
>
> On Wed, Jun 4, 2014 at 11:01 AM, su225 <su225co...@gmail.com> wrote:
>> Hello. I'm new to sympy and took the tutorial today. But I noticed the
>> following error. I'm glad to contribute to this project.
>> Where can I get resources to learn more about the sympy?
>>
>> The following line produces erroneous output.
>> In [129]: tan(x).series(x,pi/2,10)
>>
>> I have attached the screenshot of the output
>>
>> tan(x) cannot be expanded about pi/2.
>> The idea is determining the interval of convergence. If the point specified
>> for the expansion is out of this interval then throw an exception telling
>> that the power series expansion doesn't exist about that point.
>>
>> Thanks.
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "sympy" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to sympy+unsubscr...@googlegroups.com.
>> To post to this group, send email to sympy@googlegroups.com.
>> Visit this group at http://groups.google.com/group/sympy.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/sympy/67a11e70-9e0f-4a8c-8078-66550de884a3%40googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sympy+unsubscr...@googlegroups.com.
> To post to this group, send email to sympy@googlegroups.com.
> Visit this group at http://groups.google.com/group/sympy.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sympy/CAKgW%3D6%2BoGXHwKGzScS0BGVtaGes_3%3Diy%3DURfd7hdM8oyOhsP-A%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CADDwiVBcV%3D2%3DcS1pNR9fByAz8v%2BKAtn14JgOL_n%2BOyH9bqPzAA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to