an electronic device circuit with two terminals