Write a function g that determine's the point's x-coordinate in terms t.g(t)=

Input data
Start at (-4, 0)
move circle centered at (0, 0)
angular speed = 2 rad/s
Procedure
The value of x is equal to the cosine of the swept angle time radius.
We can calculate the swept angle as 2*t
[tex]g(t)=r\cdot\cos (2\cdot t)[/tex]