Permanent Magnets And Electromagnets