The endpoints of a diameter of a circle are
Recall that the equation of a circle is given by
Where (h, k) are the coordinates of the center of the circle and r is the radius of the circle.
The coordinates of the center of the circle (h, k) can be found using the midpoint formula.
So, the center of the circle is at (-1, 3)
The radius of the circle can be found using the distance formula
So, the radius of the circle is √20
Finally, let us write the equation of the circle
Therefore, the equation of the circle is