permanent magnet in dc motor