find the solution of the equation in [0,2pi)

cos^2x-sinxcosx=0