Would stacking the magnets affect the overall magnetic field in some way? Would this magnetic field be different from viewing the stack as a single, longer magnet?
I know that for a single cylindrical neodymium magnet, the formula
$$ \displaystyle{\displaylines{B(z)=\frac{μ_0M}{2}(\frac{z}{\sqrt{z^{2}+R^{2}}}-\frac{z-L}{\sqrt{(z-L)^{2}-R^{2}}})}} $$ shows the relationship between the magnetic field strength and the distance between the magnet. I was...