# How do I calculate the pull force of a cylindrical electromagnet to Iron as a function of distance? Is there any difference betweeen magnets and electromagnets?

How do I calculate the pull force of a cylindrical electromagnet to Iron as a function of distance? Is there any difference betweeen magnets and electromagnets?
You can still ask an expert for help

• Questions are typically answered in as fast as 30 minutes

Solve your problem for the price of one coffee

• Math expert for every subject
• Pay only if we can solve it

Rayna Aguilar
It's a very hard problem. If magnetism behaved like gravity, you could break up the plane and magnet into small dipoles and sum up all of the dipole-dipole interaction energies for all possible pairs (this would make a hex-tuple integral!). The force is simply the rate of change of the total energy. However, you need to first calculate the induced magnetization of iron, which is complicated and has a "saturation" behavior.