I'll do it, but anyway it is strange that the wrong result is not reproduce
using sage -maxima.
El martes, 19 de febrero de 2019, 1:34:21 (UTC+1), slelievre escribió:
>
> Mon 2019-02-18 18:55:56 UTC+1, Enrique Artal:
> >
> > The integral of functions like sqrt(a+b*sin(t)^2) for most
> > values
Eric's post shows me how to get that particular example solved. But my
real
concern is, when my code (inside some deep loop) calls solve, I want to
know
(a) if it returns an answer, that answer really is a solution, and (b) if
it
returns an empty list, there really is no solution.
Mon 2019-02-18 18:55:56 UTC+1, Enrique Artal:
>
> The integral of functions like sqrt(a+b*sin(t)^2) for most
> values of a,b produce wrong results in sage, using maxima
> algorithm, but it is not the case if one uses maxima interface.
> Is there a way to try to debug the problem? Best, Enrique
Hi,
Le lundi 18 février 2019 21:56:56 UTC+1, Michael Beeson a écrit :
>
> sage: solve(*2**(x+sqrt(*1*-x^*2*))-*7*,x)
>
> [x == -sqrt(-x^2 + 1) + 7/2]
>
>
> sage: version()
>
> 'SageMath version 8.0, Release Date: 2017-07-21'
>
>
> That doesn't look like a solution to me because x still appears
sage: solve(*2**(x+sqrt(*1*-x^*2*))-*7*,x)
[x == -sqrt(-x^2 + 1) + 7/2]
sage: version()
'SageMath version 8.0, Release Date: 2017-07-21'
That doesn't look like a solution to me because x still appears on the
right.
Is this the intended behavior?
--
You received this message because
The integral of functions like sqrt(a+b*sin(t)^2) for most values of a,b
produce wrong results in sage, using maxima algorithmI, but it is not the
case if one uses maxima interface. Is there a way to try to debug the
problem? Best, Enrique
--
You received this message because you are