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

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)
```

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

thank you. I submitted another version with your instructions

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/

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