@Christophe BAL ..Why would (x+y)**0.2 raise an error? I guess the binomial 
expansion of it would be an infinite series

On Monday, October 8, 2012 5:23:25 AM UTC+5:30, Sachin Joglekar wrote:
>
> In the special case where, in the expression (x+y)**n , n is non-integer 
> Rational, shouldn't the expansion come out to be a series of the form
>
> y**n+n*x*y**n-1+0.5*n*(n-1)*(x**2)*(y**n-2)+...+O(x**6) ?
>
> Maybe this shouldn't be the default return for expand, but it would be 
> nice to have the option of getting that particular binomial series, 
> especially if value of n is known.
>
> Something like (x+y+z)**n could be written by substituting (y+z) for y in 
> the above expansion  (Thats how WolframAlpha shows it) or we could use 
> recursion to expand each term of the form (y+z)**(n-r)
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sympy/-/UhW9ffTC2IoJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to