I'm not really good at math but i did this. This is a simulation of sinus and cosinus
Green is sinus Red is cosinus