Hmmmm. Prairie dogs.....
On a serious note, there must be tables of balistics for round ball, given velocity, mass and elevation. It's a straight forward equation - but you have to know (or calculate) the ballistic coefficient (which for round ball isn't good).
It's a little different with artillary shells. The shape has an effect and the round stays somewhat at the angle at which fired which influences the equation.
When I was in the Artillary, we had tables of trajectories, coupled with wind velocity (each 500 feet of altitude) and direction, direction of fire (to determine the effect of the rotation of the earth), powder temperature, altitudes of firing battery and target, and exact weights of the rounds. All used to calculate the range and time of flight and give the azimuth and elevation to the firing battery.