Disclaimer: This question is mostly to fact-check an "Elementary" episode and is not home work related at all. For the curious, in that episode, a "20 tesla magnet" is used to propel bullets inside an elevator to produce gunshot-like wounds in people using the elevator by having the bullets deposited in the opposite wall be pulled in by the magnet.
From looking around on the internet and stack exchange, I expect this question to not have a trivial answer, but the lack of any real formulas that could reasonably be used surprises me a bit, so my question is two-fold: Is it impossible to answer a question like this given the data I'm about to provide, and if so, what other data is needed - or alternatively, what is the answer?
The question is: Given an electromagnetic field strength of 20 Tesla produced by an electromagnet (roughly barrel-sized according to the story), what force would be exerted on a bullet (let's say made of pure iron - take the most common isotope if that matters, and let's say its weight is 10g) in a distance of x meters from the magnet (take the optimal orientation of the magnetic flow)? What speed could be reached if the traveling distance of the objects is, let's say, 2 meters?
Edit to add: If need be, assume a spherical bullet. This is assuming that results will stay within an order of magnitude or two.