@UnknwnMarino I'm glad you fixed your code! The main problem that I could see was that you were passing only single values of x and y into the plot function, not arrays (which I think is what you intended). Also, integer multiples of pi were causing y to always be equal to zero.