Physics or math?

Find the maximum angle with the horizontal with which a projectile may be projected on earth so that its distance from the point of projection continuously increases.