oh well..
Just for the sake of knowledge, does the gradient of the field come into play because all magnets have two poles and because the net force depends on the difference between the force on each end?
well, I asked this question because I'm building a simple DIY coilgun.. (just 8J of energy stored in the caps). So I'm going to have to resort to trial-and-error. Thanks for your help.