Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Am I doing something wrong in plot or is this a bug?

I put this into sagecell online and get a messed up plot. f(x) simplifies to 1.

f(x)=2/3(cos(x)^2 + cos(x-(2/3)pi)^2 + cos(x-(4/3)*pi)^2)

(plot( f , -4,4))