I'm not sure if my problem was asked before, but if so, a simple link to the answer would be appreciated.
Basically I've recently seen videos about spud cannons that use compressed air and it got me thinking about the math behind it.
Obviously for targeting purposes, one needs the final velocity at the end of the cannon barrel to substitute in newton's projectile motion equations and get the distance which is cool.
Now to find the velocity at that point is where it gets really messy. Since the pressure of compressed air changes as it expands throughout the cannon barrel, the force it exerts on the projectile decreases and so does the acceleration.
With the assumption of an isothermal expansion of the air in the barrel, how do you find the end velocity of the projectile at the end of the cannon barrel?