When a wire with a current is placed in a magnetic field, electrical energy is transformed into mechanical energy. true or false.?