Parametric Equations of Epicycloid

Parametric Equations
[font=Trebuchet MS][size=150][b]If the smaller circle has radius r, and the larger circle has radius R=kr,[br][color=#ff7700][br]x = (R+r)*cos(theta) - r*cos((R+r)/r*theta)[br]y = (R+r)*sin(theta) - r*sin((R+r)/r*theta)[/color][br][br]If k is an integer, then the curve is closed, and has k cusps.[br][br]If k is a rational number, say k=p/q expressed in simplest terms, then the curve has p cusps.[br][br]If k is an irrational number, then the curve never closes, and forms a dense subset of the space between the larger circle and a circle of radius R+2r.[/b][/size][/font]

Information: Parametric Equations of Epicycloid