# solve stuck in infinite loop?

I enter the following into a freshly built version of sage 5.5...

```
var('x0 x1 y0 y1 r0 r1 x2 y2')
eq1 = (x2 - x0)^2 + (y2 - y0)^2 == r0^2
eq2 = (x2 - x1)^2 + (y2 - y1)^2 == r1^2
solve([eq1,eq2], x2, y2)
```

There is no response. It seems like it is stuck in an infinite loop.

Anyone know where I have gone wrong?

There are many conditions here under which there is no solution. Reformulating this so that you guarantee a solution may resolve the issue.