Example #1
The intersection of two sets A and B, written as , consists of those elements
that are common to both set A and set B.
For example, if A = {3, 6, 9, 12, 15, 18, 21, 24, 27, 30} and B = {2, 4, 6, 8, 10, 12, 14, 16, 18, 20},
then = {6, 12, 18}
Example #2
The union of two sets A and B, written as , consists of those elementsthat are common to both set A and set B.
For example, if A = {3, 6, 9, 12, 15, 18, 21, 24, 27, 30} and B = {2, 4, 6, 8, 10, 12, 14, 16, 18, 20},
then = {6, 12, 18}
Example #2
that are common to set A or set B or both. For example, if A = {cat, dog, hamster, goldfish} and B = {rat, mouse, beaver, hamster},
then = {cat, dog, hamster, golfish, rat, mouse, beaver}
No comments:
Post a Comment