Re: [sage-support] Re: Calling Sage on Windows from external scripts

2023-12-03 Thread Dima Pasechnik
We are actually removing Cygwin support in Sage, so yes, going forward it will be WSL only. On 3 December 2023 14:21:13 GMT, Sean Fitzpatrick wrote: >Thanks David. > >It sounds like that will require some changes in PreTeXt itself. > >I was experimenting because I got a new Windows computer at

Re: [sage-support] Re: limitations of "solve"?

2023-12-03 Thread Oscar Benjamin
What does "set domain to complex" mean in terms of Maxima's settings? Maxima's solve seems to compute complex solutions by default: (%i21) solve(x^2 + 1); (%o21)[x = - %i, x = %i] On Sun, 3 Dec 2023 at 13:37, Dima Pasechnik wrote: > > Yes, Sage modifies the defaults of

Re: [sage-support] Re: limitations of "solve"?

2023-12-03 Thread Oscar Benjamin
Oh, I see: (%i23) domain: complex ; (%o23) complex (%i24) f: 10*x^(1/3)*y^(2/3)$ (%i25) g: 5*x^2 + 6*y$ (%i26) solve([diff(f,x)=l*diff(g,x), diff(f,y)=l*diff(g,y), g=120], [x,y,l]); (%o26)[] On Sun, 3 Dec 2023 at 14:20, Oscar

Re: [sage-support] Re: Calling Sage on Windows from external scripts

2023-12-03 Thread Sean Fitzpatrick
Thanks David. It sounds like that will require some changes in PreTeXt itself. I was experimenting because I got a new Windows computer at work, to know how well PreTeXt is currently supported on Windows. I think the answer might be that everything works locally, as long as your book doesn't

Re: [sage-support] Re: limitations of "solve"?

2023-12-03 Thread Fernando Gouvea
Is there a way to change the default when calling "solve"? Fernando On 12/3/2023 8:37 AM, Dima Pasechnik wrote: Yes, Sage modifies the defaults of Maxima, in particular we set domain to complex. On 3 December 2023 12:28:45 GMT, Oscar Benjamin wrote: On Wed, 29 Nov 2023 at 12:40, Eric

Re: [sage-support] Re: limitations of "solve"?

2023-12-03 Thread Dima Pasechnik
Yes, Sage modifies the defaults of Maxima, in particular we set domain to complex. On 3 December 2023 12:28:45 GMT, Oscar Benjamin wrote: >On Wed, 29 Nov 2023 at 12:40, Eric Gourgoulhon wrote: >> >> Le mardi 28 novembre 2023 à 18:25:04 UTC+1, kcrisman a écrit : >> >> Yes. Maxima's attitude

Re: [sage-support] Re: limitations of "solve"?

2023-12-03 Thread Oscar Benjamin
On Wed, 29 Nov 2023 at 12:40, Eric Gourgoulhon wrote: > > Le mardi 28 novembre 2023 à 18:25:04 UTC+1, kcrisman a écrit : > > Yes. Maxima's attitude is that the square root of negative one is an > expression which might have multiple values, rather than just picking one you > hope might be