TeX source:
0= (v_0 .sin( \theta ))t-\frac{1}{2}g.t^2 \Rightarrow t=\frac{2v_0.sin( \theta) }{g}