T he field-effect transistor (FET) has just three terminals. One is a gate that controls cur- rent flowing between the source and drain terminals. It is simple enough, and…