On Wed, 22 Sep 2010 03:51:39 -0700 (PDT)
lutusp <[email protected]> wrote:
> Dear group:
>
> In examining past thread on this issue, I am unable to tell if this
> bug is seen as resolved, but ... it isn't.
See #9835 and #9961 on the issue tracker. The patch by Robert
Marik attached to #9835 solves the problem you show below.
Cheers,
Burcin
> Sage 4.5.3 compiled locally on a Linux platform.
>
> sage: reset()
> sage: var('g t')
> sage: x = function('x',t)
> sage: forget()
> sage: assume(g > 0)
> sage: de = x - g * diff(x,t,2)
> sage: desolve(de,x,ivar=t)
>
> Traceback (most recent call last): desolve(de,x,ivar=t)
> File "", line 1, in <module>
>
> File "/tmp/tmpK3xCAC/___code___.py", line 9, in <module>
> exec compile(u'desolve(de,x,ivar=t)
> File "", line 1, in <module>
>
> File "/netbackup/downloads/aaa_Linux/sage_foss_mathematics/
> sage-4.5.3/local/lib/python2.6/site-packages/sage/calculus/
> desolvers.py", line 340, in desolve
> soln = maxima(cmd)
> File "/netbackup/downloads/aaa_Linux/sage_foss_mathematics/
> sage-4.5.3/local/lib/python2.6/site-packages/sage/interfaces/
> expect.py", line 1032, in __call__
> return cls(self, x, name=name)
> File "/netbackup/downloads/aaa_Linux/sage_foss_mathematics/
> sage-4.5.3/local/lib/python2.6/site-packages/sage/interfaces/
> expect.py", line 1451, in __init__
> raise TypeError, x
> TypeError: Computation failed since Maxima requested additional
> constraints (try the command 'assume(g>0)' before integral or limit
> evaluation, for example):
> Is g positive or negative?
>
> If I replace "assume(g > 0)" with
> "sage.calculus.calculus.maxima.assume(g > 0)", no difference.
>
--
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org