On Tue, 28 Nov 2023 at 17:25, kcrisman wrote:
>
> Answering part of my question: it seems that sympy and maxima have
> different attitudes towards fractional powers of negative numbers, which
> may be the source of the problem.
>
> Yes. Maxima's attitude is that the square root of negative one
Answering part of my question: it seems that sympy and maxima have
different attitudes towards fractional powers of negative numbers, which
may be the source of the problem.
Yes. Maxima's attitude is that the square root of negative one is an
expression which might have multiple values,
one should not be using sagecell.sagemath.org server for teaching, it's not
scaling well (compared to cocalc.com, say) under load.
unleashing undergraduates to compute on it surely gets things very slow there
On 28 November 2023 15:45:33 GMT, Eric Gourgoulhon
wrote:
>Hi,
>
>I've also
Answering part of my question: it seems that sympy and maxima have
different attitudes towards fractional powers of negative numbers, which
may be the source of the problem.
If I change to g(x,y)=x^2+6*y then "solve" has no problem finding
x=2*sqrt(6), y=16.
Fernando
On 11/28/2023 10:36
Hi,
I've also noticed two days ago that https://sagecell.sagemath.org/ is very
slow (actually does not terminate) even on elementary operations.
Maybe there is a problem with the server at the moment...
Eric.
Le mardi 28 novembre 2023 à 16:36:30 UTC+1, Fernando Q. Gouvea a écrit :
>
Yesterday I was demonstrating to my calculus class Sage's ability to
implement the method of Lagrange multipliers. I used a standard example,
putting the following code into SageMath Cell:
var('x,y,l')
f(x,y)=10*x^(1/3)*y^(2/3)
g(x,y)=5*x-6*y
fx=diff(f,x)
fy=diff(f,y)
gx=diff(g,x)
gy=diff(g,y)