Re: [sage-support] Matrix logarithm

2022-04-18 Thread Oscar Benjamin
On Mon, 18 Apr 2022 at 14:30, GUSTAVO TERRA BASTOS wrote: > > Hi guys. > > Given two n x n matrices M, N, we know it is a big problem to find the > positive integer "i" such that M^i = N (There are other hypothesis involved). > In my particular case, I would like to do the same for 3 x 3

Re: [sage-support] Plot doesn't respect numerical precision specification.

2022-12-06 Thread Oscar Benjamin
On Tue, 6 Dec 2022 at 12:53, Emmanuel Charpentier wrote: > > > And Sympy currently never returns. With current SymPy master it takes 6 seconds: In [1]: %time log(tan(pi/2*tanh(x))).diff(x).limit(x, oo) CPU times: user 5.73 s, sys: 24 ms, total: 5.75 s Wall time: 5.75 s Out[1]: 2 The fix was

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

2024-01-01 Thread Oscar Benjamin
effect is usually of most impact: > > https://maxima.sourceforge.io/docs/manual/maxima_46.html#index-domain > > there may be other undocumented effects, but the one above tends to explain a > lot already. > > On Sunday 3 December 2023 at 06:26:20 UTC-8 Oscar Benjamin wrote:

Re: [sage-support] Re: Sage seems to incorrectly evaluate fractional powers of complexes

2024-01-04 Thread Oscar Benjamin
On Thu, 4 Jan 2024 at 12:15, Emmanuel Charpentier wrote: > > But this does not explain whiy Sage is uneble o check (numericalmlmy or > otherwise) the solutions given by Sympy or Mathematica, which check in Sympy > (I didn’t yet try to check them in Mathematica, the limitations of the > current

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

2023-11-28 Thread Oscar Benjamin
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

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

2023-12-03 Thread Oscar Benjamin
ies 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 U

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

2023-12-03 Thread Oscar Benjamin
7, 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 Gourgoulhon >

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

Re: [sage-support] Integral result differ from Wolfram|Alpha

2023-11-13 Thread Oscar Benjamin
On Mon, 13 Nov 2023 at 21:32, Bùi Gia Nghĩa wrote: > > Hi! > I have used Sage Cell Server to integrate the function (ln(x)^2 - 1) / (x * > ln(x)). It should resulted in (ln(x)^2) / 2 - |ln(ln(x))| + C, as noted by my > textbook and Wolfram|Alpha, but instead resulted in 1/2*log(x)^2 - >

Re: [sage-support] Why cant this limit be evaluated?

2024-02-24 Thread Oscar Benjamin
On Mon, 19 Feb 2024 at 20:25, Mark “Essa King” Sukaiti < xzark.suk...@gmail.com> wrote: > D(r)=-1/2*((3*r^2 - 1)*elliptic_ec((4*r/(r^2 + 2*r + 1)))^2 + (r^2 - 2*r + > 1)*elliptic_ec((4*r/(r^2 + 2*r + 1)))*elliptic_kc((4*r/(r^2 + 2*r + > 1/(pi^2*r^8 - 2*pi^2*r^7 - pi^2*r^6 + 4*pi^2*r^5 -