Total flight time of projectile launched horizontally

t_max = saknis(2*h/g)
Find   It is known that:
      =