Given F(P,Q,R,S) = Σ (0, 2, 5, 7, 8, 10, 11, 13, 14, 15)
(i) Reduce the above expression by using 4 – Variable K-Map, showing the various groups (i.e., octal, quads and pairs).
(ii) Draw the Logic gate diagram of the reduced expression using NAND gate only.