finding radius and diameter of a circle