Write a Boolean equation involving the bits of the code in Exercise 2.17 that determines when the phone is off-hook (that is, in a state other than on-hook or ringing).
Exercise 2.17
Devise a minimal-length binary code to represent the state of a phone: on-hook, dial-tone, dialing, busy, connected, disconnected, ringing.