I'm using the latest pull from git://git.sympy.org/sympy.git, and this is the response I get: In [1]: from sympy import *
In [2]: f, w = symbols('fw') In [3]: s = 2*pi*I*f In [4]: ia = (-2*s**2*w**2 + w**4)/(s**4 + w**4) In [5]: simplify(integrate(ia, (f, 0, infty))) --------------------------------------------------------------------------- NameError Traceback (most recent call last) /home/luke/lib/python/sympy/<ipython console> in <module>() NameError: name 'infty' is not defined In [6]: simplify(integrate(ia, (f, 0, oo))) Out[6]: 0 In [10]: oo.__class__ Out[10]: <class 'sympy.core.numbers.Infinity'> I'm guessing 'infty' is something you've defined on your own machine for convenience. What exactly does it mean to be using the 'trunk'? Thanks, ~Luke On May 26, 4:04 pm, Neal Becker <ndbeck...@gmail.com> wrote: > On Tuesday 26 May 2009, Robert Kern wrote: > > > On Tue, May 26, 2009 at 17:04, Neal Becker <ndbeck...@gmail.com> wrote: > > > On Tuesday 26 May 2009, Robert Kern wrote: > > >> On Tue, May 26, 2009 at 15:08, Luke <hazelnu...@gmail.com> wrote: > > >> > I get the same behavior on my machine. > > > >> Hmm, I don't. > > > > I'm using 0.6.4, are you using something newer perhaps? > > > Yes, the trunk. > > Here's what maxima says: > > (%o33) (w^4+8*%pi^2*f^2*w^2)/(w^4+16*%pi^4*f^4) > > (%i35) integrate(%o33,f,0,inf); > Is w positive or negative? positive; > (%o35) (3*w)/(4*sqrt(2)) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@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 -~----------~----~----~----~------~----~------~--~---