Click the green flag to draw a chart of sin, cos, tan. red=sin green=cos blue=tan
add (at,a(1-cos(t)) thank you @issei0906