y=cos(2x) and y=cos(x^2) on a graph