The bit strings for two sets are given as:-
A=0110011100 which corresponds to set 2,3,6,7,8
B=1010101010 which corresponds to set1,3,5,7,9
Union of two set is-
A∪B=1110111110
which corresponds to {1,2,3,5,6,7,8,9 }
Intersection of two set is -
A∩B=0010001000
which corresponds to {3,7 }
Compliments of A and B i.e. (A∩B)′
1101110111 which corresponds to the set {1,2,5,6,8,9 }
Comments