The value of $\theta$, lying between $\theta=0$ and $\theta=\frac{\pi}{2}$ and satisfying the equation
$\left|\begin{array}{ccc}1+\cos ^{2} \theta & \sin ^{2} \theta & 4 \sin 4 \theta \\ \cos ^{2} \theta & 1+\sin ^{2} \theta & 4 \sin 4 \theta \\ \cos ^{2} \theta & \sin ^{2} \theta & 1+4 \sin 4 \theta\end{array}\right|=0$, is
(A) $\frac{11 \pi}{24}$
(B) $\frac{7 \pi}{24}$
(C) $\frac{5 \pi}{24}$
(D) none of these