design a sequence detector that detects the sequence: 110. Thedevice has one input x and one output Y. When the input sequence isset to 1 followed by a 1 followed by a 0, then Y is set to 1otherwise Y is set to 0. Use J-K flip-flops and minimum number ofstates is designing this detector and show the followings:
a) Show the state diagram
b)Show the state table for this detector