Hi Tsviki! On Mon, Apr 12, 2010 at 9:43 AM, Tsviki <[email protected]> wrote: > Dear List, > sympy can handle the integral: > > > In [9]: integrate(exp(-x**2),(x,-oo,oo)) > > Out[9]: pi**(1/2) > > but not this one: > > In [10]: integrate(exp(-(x-1)**2),(x,-oo,oo)) > > Out[10]: Integral(exp(-(1 - x)**2), (x, -oo, oo)) > > This is an easy integral, I can do it by hand, but how can I calculate > it using sympy?
This isn't implemented yet. If you'd be interested in helping out with fixing this, just follow this issue: http://code.google.com/p/sympy/issues/detail?id=841 I have submitted there a patch implementing a similar integral. Maybe you could finish it (see the other comments in the issue) and post it for review. It'd be a huge help. I'd help you with any technical issues. Thanks, Ondrej -- You received this message because you are subscribed to the Google Groups "sympy" group. 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.
