Sphere equation

Drag the sphere and the point R (that controls the sphere radius). Observe the effects of these motions on the equation of the sphere. Could you give the general form of the equation of the sphere given the radius and the coordinates of the center C?


Download the figure