Thanks, however, I am still confused.
I agree with this formula, but I am not quite sure as of how this applies to large distances. As it can be seen in this formula, there are three parts. In the formula above, x is the separation between the two magnets and L is the length of the magnets...