For sin2x+cosx=0,\displaystyle {\sin{{2}}}{x}+{\cos{{x}}}={0}, use a double-angle or half-angle formula to simplify the equation and then find all solutions of the equation in the interval [0,2π).\displaystyle {\left[{0},{2}\pi\right)}.
x=\displaystyle {x}=