Which of the following is a device that converts electrical energy into mechanical energy