Muzzle velocity in traditional guns that use gunpowder is set by the length of the barrel .
In conventional guns using blackpowder or guncotton , muzzle velocity is determined by the amount of propellent , the mass of the projectile , and the length of the barrel .
Muzzle velocity