Construct the envelope formed by a fix diameter of a circle rolling along a fixed circle of the same
size.

> restart;

> m:=[[2*cos(t)-cos(2*t),2*sin(t)-sin(2*t)],[2*cos(t)+cos(2*t),2*sin(t)+sin(2*t)]]:

> t:=k*2*Pi/100:

> plot([m$k=0..100],scaling=constrained,axes=none,color=cyan);

[Maple Plot]

>