We know that for odd function $f(-x) = -f(x)$ and for even function $f(-x) = f(x)$.
Therefore, $\cos^3(-x) = \cos(-x)\cos(-x)\cos(-x) = \cos{x}\cos{x}\cos{x} = \cos^3{x}$ (i.e. $\cos^3{x}$ must be even function). And similarly, since $\sin(-x) = - \sin{x}$, $\sin^3{x}$ must be odd function.
But in my text book they claimed that $\cos^3{x}$ is odd function while $\sin^3{x}$ is even function. Maybe I have done something wrong, but I am unable to understand how $\cos^3{x}$ is an odd function while $\sin^3{x}$ an even function. Please help. Thanks.