x\in[0,2\pi]