For what value of θ\thetaθ (0⩽θ⩽π2)\left(0 \leqslant \theta \leqslant \frac{\pi}{2}\right)(0⩽θ⩽2π) does y=sin2θcosθy=\sin^2 \theta \cos \thetay=sin2θcosθ reach its maximum?