Let the end points of the diameter :
and
.
The center of circle is the midpoint of the diameter :
\
The radius of the circle is the half - distance between
and
Apply distance formula:
)
Substitute the values of
and
in the distance formula



.
The standard form of the circle is
.
Substitute the values of
and
in the standard form of the equation of a circle.
The equation of the circle is
.