Two magnet I put nearer to each other in such a way that there is a repulsive force between them. Both the magnets have some potential energy with respect to each other. I keep magnet in this position for a long time & so magnetic field became weaker & so magnet have less amount of potential energy w.r.t. each other. So, where does the energy gone? For which work it is consumed?