How to use "plugged" in a sentence

Sentences

They plugged it in and tried to get it to repeat what it had done earlier, but they had no luck; the machine behaved exactly as it was meant to behave.