Total time of flight of projectile is given as: