Abstract: A method of generating energy and a permanent magnet motor are disclosed. A method of generating energy is disclosed, comprising the steps of providing a first permanent magnet in a first initial location and a second permanent magnet in a second initial location, where the first and second magnets are positioned such that their poles have approximately the same relative orientation, moving the first and second magnets towards each other relatively by moving either or both the first magnet and the second magnet substantially along a first axis that is approximately perpendicular to the orientation of their poles, separating the first and second magnets by moving either or both the first magnet and the second magnet substantially along a second axis that is approximately parallel to the orientation of their poles, and returning the first and second magnets to their respective first and second initial locations.