You guys are going around in circles a bit and the approaches both work (though the second, not quite as described): if you know the force and the distance (we were given the distance, we'd need the CO2 pressure and how/if it varies as the ball moves through the barrel), you easily calculate the work and since work is equal to kinetic energy, you can use the kinetic energy equation to calculate the final speed. In my opinion, that is the most direct method.
Alternately, you can use Newton's mechanics equations, a=f/m, s=at, and d=st, with some integration, to find the same thing. You don't know the time: you have to calculate it.