integral fails entering code below. Hopefully I'll avoid typos

asked 2017-10-29 08:56:40 -0600

meirsamel gravatar image

updated 2017-10-29 10:29:50 -0600

Here is the code:

show("taken from Mahtematica")
show("G.2.a.singularity")
var('y a b q t r')
m(x,y)=q*(x-a)/((x-a)^2+(y-b)^2)
n(x,y)=q*(y-b)/((x-a)^2+(y-b)^2)
#m(x,y)=5*(x-a)/sqrt((x-a)^2+(y-b)^2)
#n(x,y)=5*(y-b)/sqrt((x-a)^2+(y-b)^2)
edit retag flag offensive close merge delete

Comments

What is your question ? What is wrong with the code you provided ?

tmonteil gravatar imagetmonteil ( 2017-10-29 11:33:05 -0600 )edit

thank you. I submitted another version with your instructions

meirsamel gravatar imagemeirsamel ( 2017-10-29 13:11:27 -0600 )edit

This seems to be a part of the problem (but without the problem), as posted here:

https://ask.sagemath.org/question/39316/integration/

That code indeed runs into an error.

A triple instance of the same question...

https://ask.sagemath.org/question/39324/integral-command-fails-copy-paste-and-run-then-exchange-mxy-and-nxy-and-rerun-i-get-maxima-error/

dan_fulea gravatar imagedan_fulea ( 2017-10-29 13:12:02 -0600 )edit

The title of the question mentions the failure of an integral, but I don't see any integral in the question.

slelievre gravatar imageslelievre ( 2017-11-21 11:24:38 -0600 )edit