Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Series

New issue 3627 by srjoglek...@gmail.com: Order malfunctions with sin(x)
http://code.google.com/p/sympy/issues/detail?id=3627

Suppose I want the binomial representation of (x + sin(x)) ** 1.2, in terms of x
Doing series((x + y) ** 1.2, x).expand().subs(x,x).subs(y,sin(x))
returns an error of 'Maximum recursion depth reached'

On the other hand,
temp = series((x + y) ** 1.2, x).expand().subs(x,x).subs(y,cos(x))
gives the correct output,

cos(x)**1.2 + 1.2*x*cos(x)**0.2 + 0.12*x**2*cos(x)**(-0.8) - 0.032*x**3*cos(x)**(-1.8) + 0.0144*x**4*cos(x)**(-2.8) - 0.00806400000000001*x**5*cos(x)**(-3.8) + O(x**6)

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy-issues+unsubscr...@googlegroups.com.
To post to this group, send email to sympy-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy-issues?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to