A projectile is projected with an initial velocity u, at an angle \theta to the horizontal. The maximum height attained is.
A
U2 sin \(\frac{\theta}{g}\)
B
2U2 sin2 \(\frac{\theta}{g}\)
C
U sin2 \(\frac{\theta}{g}\)
D
U2 sin2\(\frac{\theta}{2g}\)