For maximum horizontal rangeHmax= (u2sin2θ)/2g = (u2)/2g, implying the angle should be equal to 45°..