You can put this solution on YOUR website! Find the midpoint wihich is the center
-----------------
M = ( 0,0 )
center at ( j,k )
-------------------------------
Find the diameter
The equation is:
-----------------------
Here's the plot:
check my math