Question 20 The diagram shows the curve $y = \cos x\sqrt{\sin 2x}$ for $0 \le x \le \frac{1}{2}\pi$. The curve has a maximum point at $M$, where $x = a$. **(a)** Find the exact value of $a$.