If the coordinates of the center of a circle are (-3,1) and the radius is 4, what is an equation of the circle

The equation of a line whose center is (a, b) and radius is c is:

(x-a)^2 + (y-a)^2 = c^2

Is it (x-3)^2 + (y-1)^2 =16

No, it's:

(x+3)^2 + (y-1)^2 = 16

Thank you

To find the equation of a circle, we can use the formula:

(x - h)^2 + (y - k)^2 = r^2

Where (h, k) are the coordinates of the center of the circle, and r is the radius.

In this case, the coordinates of the center of the circle are (-3, 1) and the radius is 4.

Substituting these values into the formula, we get:

(x - (-3))^2 + (y - 1)^2 = 4^2

Simplifying it further, we have:

(x + 3)^2 + (y - 1)^2 = 16

Therefore, the equation of the circle is (x + 3)^2 + (y - 1)^2 = 16.