Answer :
the formulae for range and flight time for a given launch from ground level at angle θ are
R=v2sin2θg
and
T=2vsinθg
these follow from the equations of motion and the parabolic/symmetric shape of flight without air resiatance you can see that you will max out on range at
θ=45o
R=v2sin2θg
and
T=2vsinθg
these follow from the equations of motion and the parabolic/symmetric shape of flight without air resiatance you can see that you will max out on range at
θ=45o