I have five points and I’m trying to find the radius and center of the circle that contains these points.

P1 (0,-229),

P2 (129,-223)

P3 (319,-184)

P4 (457,-123)

P5 (671,0)

The equations I have been using so far:

Slope1 = (y2 – y1)/(x2 – x1)

Slope2 = (y3 – y2)/(x3 – x2)

(Xcenter)Xc = (slope1*slope2(y1 – y3)+slope2*(x1+x2)-slope1(x2-x3))/(2*(slope2-slope1)

(Ycenter)Yc= -(1/Slope1)*(x-((x1+x2)/2))+((y1+y2)/2)

R = sqrt((x1-Xc)^2+(y1-Yc)^2)

Here is the problem that I’m having if I use points 1,2, and 3 then the center is (16.4, 807.8). If I use Points 1, 2, and 4 then the center is (20.45, 720.9), and If I use points 1, 2, and 5 then the center is (101.25, 614.59). Now I know that the center of the circle is not moving, but according to my math it is. I know I’m missing something can someone help, please?