Cos2x=cos^2x-sin^2x