On Wed, 22 Sep 2010 18:52:32 -0700 (PDT)
lutusp <[email protected]> wrote:
> > The patch by Robert Marik attached to #9835 solves the problem you
> > show below.
>
> Applied the indicated patch, same outcome:
>
> reset()
> var('g t')
> x = function('x',t)
> forget()
> assume(g > 0)
> de = x - g * diff(x,t,2)
> desolve(de,x,ivar=t)
>
> Traceback (most recent call last): desolve(de,x,ivar=t)
<snip backtrace>
> 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?
Did you run "./sage -br" to build sage after you applied the patch?
I get this:
sage: reset()
sage: var('g t')
(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)
k1*e^(t/sqrt(g)) + k2*e^(-t/sqrt(g))
Cheers,
Burcin
--
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/sage-support
URL: http://www.sagemath.org