Ask Your Question
0

why gives a wrong result?

asked 2019-01-31 15:33:53 +0100

GGuasp gravatar image

integrate(sqrt(2+sin(x)^2),x)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-01-31 16:11:41 +0100

Emmanuel Charpentier gravatar image

Problem similar to this previous question, which generated the bug report Trac#26563.

BTW, you should try to create questions a bit less err... elliptic (pun not intended but kept...). Your question is more a riddle than a question...

edit flag offensive delete link more

Comments

I know the track. And the question has been placed bearing in mind that the error is already known.

But the true question is: does anyone know what is the problem in the pipe between SageMath and Maxima that produces this type of "obviously" incorrect results? What are the types of integrals that are known to suffer from this problem?

With this information I can try to avoid the problem (in fact, teach my students). Not fixing the problem (I do not know enough about the involved algorithms/programation) but retouching the math to get a more "friendly" (or hard enough) expression to work.

GGuasp gravatar imageGGuasp ( 2019-02-04 16:56:45 +0100 )edit

Here's another one that doesn't integrate correctly:

integrate(sqrt(1+cos(x)^2),x,0,pi)

This doesn't work either:

integrate(sqrt(1+cos(x)^2),x,0,pi,algorithm='sympy')

brianko gravatar imagebrianko ( 2019-02-10 04:12:46 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-01-31 15:33:53 +0100

Seen: 249 times

Last updated: Jan 31 '19