A ball is projected from the ground with a speed $15 \mathrm{~m}\mathrm{~s}^{-1}$ at an angle $\theta$ with horizontal so that its range and maximum height are equal, then $\tan\theta$ will be equal to\\
(1) $\frac{1}{4}$\\
(2) $\frac{1}{2}$\\
(3) 2\\
(4) 4