Please choose the correct answer to the question: Which device converts kinetic energy into electrical energy?

Answer1: calculator Answer2: generator Answer3: electric motor Answer4: electromagnet

Answer format: answer1/answer2/answer3/answer4