Basic electronic circuits simplified