This question might seem a bit too basic(or advanced!), but it is the one to which I'm really desperate to find a simple enough explanation and solution.
Ok, So here's the problem,
I have two identical electromagnets with a field strength $B$ each. Each of radius $r$ and length $l$ with $N$ turns say, how do I calculate the net repulsive/attractive force between them if
- they attract each other and are pulled apart or
- they repel each other and are pushed against each other
I want to levitate one magnet carrying a weight (so its stabilized) above the other electromagnet. Even if the solution is for different fields it is no problem.