I'm trying to write a bb gun calculator on my site, but unfortunately I'm not good at physics. This is the scenario:
If we have a projectile with a mass of 0.5 grams, leaving the barrel at 400 kilometers per hour, and traveling through air on a horizontal trajectory (we are assuming we have zero gravity), how can I calculate the velocity of the projectile at any given point (distance from barrel) throughout its path. (I will only calculate the first 50 meters, at an increment of 1 meter)
I need to be able to get this velocity value after X meters so I can convert it into kinetic energy to figure out how hard the projectile will hit at a certain distance.