How did you find the center ? It is supposed to lie on the line S, so it must satisfy both equations, which it does'nt.

The center must be equidistant from A and B, and satisfy the two equations. This makes 3 equations, allowing you to find the three components of the center.

Laurent.