If $y=\lvert\cos x\rvert+\lvert\sin x\rvert$, then what is $dy/dx$ at $x=2\pi/3$?

76 Views Asked by At

Can you help me understand this?

If $y=\lvert\cos x\rvert+\lvert\sin x\rvert$ then at $x=2\pi/3$, what is $dy/dx$?

The answer is $(\sqrt{3}-1)/3$, but how?