In: Computer Science
Use set notation to list the elements.
1.The set of positive integers between 5 and 9.
2. The set of seasons in a
year.
State whether the first set is a subset of the second set.
3. {7, 9, 11}; {The odd counting numbers}
4. {The integers larger than 5}; {7, 8, 9,…}
Find the cardinality for the set.
5. A = {The number of seconds in a minute}
6. A = {-8, -7, -6,…, 0}
The set is an unordered collection of element which is represented by using the set bracket.
1.
The set notation of positive integers between 5 and 9 is given below:
S = {6, 7, 8}
2.
The set notation of seasons in a year is given below:
S = {"spring", "summer", "fall", "winter"}
State whether the first set is a subset of the second set.
A set is a subset of the given set if all elements of the set are present in the given set.
Here, the second set has the odd and even integer greater than 5 but the first set has the odd numbers 7, 9, and 11 only.
All of the elements of the first set are present in the second set as well.
So, the first set is a subset of the second set.
Find the cardinality for the set.
The cardinality of the set is the number of elements present in the set.
5.
The number of seconds in a minute is 60.
A = {1, 2, 3, ..., 57, 58, 59, 60}
So, the cardinality of the above set is 60.
6.
The number of elements in the given set is = 9
So, the cardinality of the given set is 9.