Ask Your Question

Emmanuel Charpentier's profile - activity

2024-04-06 15:33:40 +0200 edited answer Why does Sage provide no explicit solution for solve() but Wolfram Alpha does ?

You have to eliminate the radicals by squaring the equation (thus possibly introducing non-solutions) and separating the

2024-04-06 15:32:43 +0200 edited answer Why does Sage provide no explicit solution for solve() but Wolfram Alpha does ?

You have to eliminate the radicals by squaring the equation (thus possibly introducing non-solutions) and separating the

2024-04-05 10:11:50 +0200 edited answer Why does Sage provide no explicit solution for solve() but Wolfram Alpha does ?

You have to eliminate the radicals by squaring the equation (thus possibly introducing non-solutions) and separating the

2024-04-05 10:06:14 +0200 answered a question Why does Sage provide no explicit solution for solve() but Wolfram Alpha does ?

You have to eliminate the radicals by squaring the equation (thus possibly introducing non-solutions) and separating the

2024-04-01 12:14:54 +0200 answered a question Wrong answer for complex integral with maxima

FWIW : sage: var("t") t sage: integrate(abs(exp(i*t).demoivre()-1)^2*i*exp(i*t), (t,0,pi)) -I*pi - 4 HTH,

2024-03-28 21:53:36 +0200 answered a question Simple complex definite integral fails

FWIW, the question Is floor((%i+1)/(2*%pi)) positive, negative or zero? is nonsensical : $\displaystyle{\frac{i+1}{2\pi}

2024-03-24 21:04:31 +0200 received badge  Nice Answer (source)
2024-03-22 19:27:35 +0200 answered a question computation of an integral

FWIW : sage: var("a") a sage: foo=1/((x-a)^(1/2)*x^(3/4)) sage: foo.integrate((x, 0, oo)) -----------------------------

2024-03-22 18:27:43 +0200 commented question computation of an integral

Sage 10.3 (just released) runs without problem on Linux and on Windows>=10 nder WSL2. The recommended way to intall

2024-03-18 16:57:48 +0200 commented answer Resizing the table font to fit into the page

Therefore, you want to customize your table for a specific output. Which one ?

2024-03-18 13:29:17 +0200 commented question How to store images of graphs in a PDF?

A couple suggestions : You might put your figures in separate files, then merging them with an external tool such as p

2024-03-18 07:48:20 +0200 answered a question Resizing the table font to fit into the page

As far as I understand, you're generating LaTeX output. What about \small{T} ? This tutorial might be helpful. More ge

2024-03-04 20:57:59 +0200 commented question There is no current event loop

This post might be germane to your problem.

2024-03-04 20:56:09 +0200 commented question There is no current event loop

@stillconfused : This might be a Sage problem specific to your platform (Debian under WSL), or a problem with your Debi

2024-03-01 07:09:49 +0200 edited answer Polynomial factorization

Possible alternative in SR : sage: var("x, y, z") (x, y, z) sage: f = x^2*(x + y + z + 1) + x^3*(y^2 + z^2 + 1); f (y^2

2024-03-01 07:06:31 +0200 answered a question Polynomial factorization

Possible alternative in SR : sage: var("x, y, z") (x, y, z) sage: f = x^2*(x + y + z + 1) + x^3*(y^2 + z^2 + 1); f (y^2

2024-02-27 14:12:04 +0200 answered a question Float-point precision in instantiation of point in Hyperbolic geometry module

Alternate possibility : PD.get_point() does accept rational coordinates : sage: p = PD.get_point(1/7+I/2); p Point in P

2024-02-26 10:37:23 +0200 commented answer Applying RREF transformation of one matrix to another

On an unrelated note, where may I learn the typesetting features on this platform? (Code boxes, LaTeX, etc.) This s

2024-02-26 10:36:06 +0200 commented answer Applying RREF transformation of one matrix to another

On an unrelated note, where may I learn the typesetting features on this platform? (Code boxes, LaTeX, etc.) This s

2024-02-24 13:14:15 +0200 commented question Exporting pgf plots for latex from Sage environment using pandas and matplotlib

@stillconfused: WorksForMe(TM) on 10.3.beta8 compiled from source git on Linux Debian testing ; my LaTeX installation is

2024-02-23 23:27:39 +0200 answered a question How to substitute the product of two variables in polynom?

Lazy alternative sage: P._sympy_().subs(sympy.sympify({ x*y: w }))._sage_() 7*w^2 + 5*w*x + 6*w*y + 4*w + x + 2*y + 3*z

2024-02-23 23:01:58 +0200 commented answer Differential equation solution

The original system (with phi unknown) cnnot be solved by Sagemath (nor by Sympy nor Mathematica, BTW). giving phi a val

2024-02-23 13:50:02 +0200 commented question Exporting pgf plots for latex from Sage environment using pandas and matplotlib

WorksForMe(TM) on 10.3.beta8 compiled from source git on Linux Debian testing ; my LaTeX installation is Debian's texliv

2024-02-23 13:48:46 +0200 commented question Possible bug with product of matrices over GF with modulus

For me, this is correcly done on Sagemath 10.3.beta8. The problem persists even after updating to SageMath 10.2 on m

2024-02-23 13:48:00 +0200 commented question Possible bug with product of matrices over GF with modulus

For me, this is correcly done on Sagemath 10.3.beta8. The problem persists even after updating to SageMath 10.2 on m

2024-02-23 13:23:33 +0200 commented answer Differential equation solution

@roux_de_secours : Could we have the original statement of the problem ? I. e. the original system of differential equat

2024-02-23 13:23:14 +0200 commented answer Differential equation solution

@roux_de_secours : Could we have the original statement of the problem ? I. e. the original system of differential equat

2024-02-23 12:41:17 +0200 commented question Exporting pgf plots for latex from Sage environment using pandas and matplotlib

WorksForMe(TM) on 10.3.beta8 compiled from source git on Linux Debian testing ; my LaTeX installation is Debian's texliv

2024-02-23 12:27:05 +0200 commented question Exporting pgf plots for latex from Sage environment using pandas and matplotlib

WorksForMe(TM) on 10.3.beta8 compiled from source git on Linux Debian testing ; my LaTeX installation is Debian's texliv

2024-02-22 17:50:05 +0200 edited answer Pythagorean triple count

Note : @Max Alekseyev's answer, using more mathematical knowledge, is, of course, much better than this one, which illus

2024-02-22 14:47:35 +0200 edited answer Pythagorean triple count

I suppose that this is not homework. If it is, you would benefit from stopping reading this and solving it yoursef... R

2024-02-22 13:54:57 +0200 edited answer Pythagorean triple count

I suppose that this is not homework. If it is, you would benefit from stopping reading this and solving it yoursef... R

2024-02-22 13:31:21 +0200 answered a question Pythagorean triple count

I suppose that this is not homework. If it is, you would benefit from stopping reading this and solving it yoursef... R

2024-02-22 10:29:05 +0200 commented question Pythagorean triple count

Your code runs in O(n^3), n being your limit. If you need "about a second" for n=100, it wil need "about 1000 seconds" f

2024-02-21 14:09:26 +0200 edited answer Differential equation solution

After running your code, typing your solution in text mode gives : sage: sol [H(t) == ilt(1/2*(2*(2*w*(H(0) - 3*laplace

2024-02-21 13:43:58 +0200 edited answer Differential equation solution

After running your code, typing your solution in text mode gives : sage: sol [H(t) == ilt(1/2*(2*(2*w*(H(0) - 3*laplace

2024-02-21 13:38:40 +0200 edited answer Differential equation solution

After running your code, typing your solution in text mode gives : sage: sol [H(t) == ilt(1/2*(2*(2*w*(H(0) - 3*laplace

2024-02-21 13:36:41 +0200 edited answer Differential equation solution

After running your code, typing your solution in text mode gives : sage: sol [H(t) == ilt(1/2*(2*(2*w*(H(0) - 3*laplace

2024-02-21 11:39:03 +0200 edited answer Differential equation solution

After running your code, typing your solution in text mode gives : sage: sol [H(t) == ilt(1/2*(2*(2*w*(H(0) - 3*laplace

2024-02-21 11:25:04 +0200 answered a question Differential equation solution

After running your code, typing your solution in text mode gives : sage: sol [H(t) == ilt(1/2*(2*(2*w*(H(0) - 3*laplace

2024-02-21 07:29:26 +0200 edited answer Is there a command or a way in SageMath to collect more than one common variable in an equation? without specifying those common variable or write them manually

EDIT : A previous answer (seriously out of scope...) has been edited out. Nothing direct, as far as I know. Of note :

2024-02-20 16:17:46 +0200 edited answer Is there a command or a way in SageMath to collect more than one common variable in an equation? without specifying those common variable or write them manually

Nothing direct, as far as I know. sympy.cse() gives some elements for building this, but using it needs some programming

2024-02-20 15:35:18 +0200 edited answer Is there a command or a way in SageMath to collect more than one common variable in an equation? without specifying those common variable or write them manually

Nothing direct, as far as I know. sympy.cse() gives some elements for building this, but using it needs some programming

2024-02-20 15:32:40 +0200 edited answer Is there a command or a way in SageMath to collect more than one common variable in an equation? without specifying those common variable or write them manually

Nothing direct, as far as I know. sympy.cse() gives some elements for building this, but using it needs some programming

2024-02-20 15:23:44 +0200 edited answer Is there a command or a way in SageMath to collect more than one common variable in an equation? without specifying those common variable or write them manually

Nothing direct, as far as I know. sympy.cse() gives some elements for building this, but using it needs some programming

2024-02-20 14:38:50 +0200 received badge  Nice Answer (source)
2024-02-19 20:10:18 +0200 commented question Plot a 3D figure with different colors of a System of three Equations using SageMath

What is your bloody question ?

2024-02-19 19:45:57 +0200 commented question Comparison between SageMath ODE solvers and Scipy ODE solvers

Scipy solvers are numerical solvers, using numerical integration to get a solution of (systems of) ordinary differential

2024-02-19 10:48:48 +0200 commented answer Ghost numbers when using ARB

Alternative : sage: RDD(QQ(3.1))*RDD(QQ(2.1)) [6.5100000000000000000000000000000000000000000000000000000000000000000000

2024-02-19 10:36:59 +0200 answered a question Is there a command or a way in SageMath to collect more than one common variable in an equation? without specifying those common variable or write them manually

Nothing direct, as far as I know. sympy.cse() gives some elements for building this, but using it needs some programming