find the diameter of a circle