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

asked 2017-10-29 14:56:40 +0200

meirsamel gravatar image

updated 2017-10-29 16:29:50 +0200

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 17:33:05 +0200 )edit

thank you. I submitted another version with your instructions

meirsamel gravatar imagemeirsamel ( 2017-10-29 19:11:27 +0200 )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 19:12:02 +0200 )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 18:24:38 +0200 )edit