Neat.
Also, I'll have it be known that I despise maths in much the same way as Dr. Irving Finkle of the British Museum. His video on playing the Royal Game Of Ur is a pretty good description at 10 minutes and 21:30 there.
https://www.youtube.com/watch?v=WZskjLq040IBut regardless, there's some basic calculation to clear out of the way first: Angle of shot, muzzle velocity, bullet mass, and so on to get some theoretical maximum ranges. Then, we move into adding drag and ballistic coefficient (determined by ammo), and so on.
You're far ahead of me on this... So have at it. But, cover the basics first.