Find all real polynomial functions $f : R \to R$ such that $f(\sin x) = f(\cos x)$.
Source: Indian Postal Coaching 2009 set 4 p3
Tags: polynomial, trigonometry, algebra
Find all real polynomial functions $f : R \to R$ such that $f(\sin x) = f(\cos x)$.