We are building a maglev train for an engineering physics project. We have a prototype that is going to work for us but we are struggling with the mathematics. We are using ceramic magnets that are 3/16in thick and 1/2 inch in diameter. One of our project partners has an equation (below) but I am not so sure this explains what we need it to. We are wanting to figure out how much weight our magnets will levitate. Obviously we have like poles facing each other and so we have a force in the Y direction from each magnet but still not sure of the math. Propulsion is from force of gravity. Any help would be greatly appreciated!
F(x) = [u(naught)pi]/4 [M^2R^4] [1/x^2 + 1/(x+2h)^2 - 2/(x+h)^2
M=magnetization of the magnets
h= height/thickness of the magnets
R= radius of magnets
x= distance between magnets (vertically)
B(naught)= magnetic flux density