Solve the following problem
Consider the switching function f(x1, x2, x3) defined by the set of decimal indices corresponding to 1-minterms f(1) = {0, 4, 6, 7}. Realize f by an (8 × 1) decoder and an OR circuit.
Repeat the realization with the same decoder and an NOR circuit. Compare the realizations in the number of required outputs of the decoder.