Question

Given the set definitions below, answer the following questions setl 10.16,8,9) set2 (3,5,6,9 set3-(13,615,28) What is the result of performing set unlon on set1 and set2? What is the result of performing set Intersection on set2 and set3? What is the result of performing the set Intersection on all three sets?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Following is the answeR:

1) Union of set1 and set2:

set1 = {0,1,6,8,9} , set2 = {3,5,6,9}

answer: set1 U set2 = {0,1,3,5,6,8,9}

2) Intersection of set2 and set3:

set2 = {3,5,6,9} , set3 = {1,3,6,15,28}

answer: set2 X set3 = {3,6}

3) Intersection of all sets:

set1 = {0,1,6,8,9} , set2 = {3,5,6,9} , set3 = {1,3,6,15,28}

answer: set1 X set2 X set3 = {6}


Add a comment
Know the answer?
Add Answer to:
Given the set definitions below, answer the following questions setl 10.16,8,9) set2 (3,5,6,9 set3-(13,615,28) What is...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Use C++ programing language Please don't use other Chegg solved solutions, make it new thanks. Assignment...

    Use C++ programing language Please don't use other Chegg solved solutions, make it new thanks. Assignment requirements Pre-requisite: Please read zyBook Chapter 6 Sets and understand the three operations of Sets (union, intersection, and difference) . You will be creating your custom Set (think a list of unique elements) class in C++ or a language of your choice. Please do NOT use STL, or any pre-defined library for this assignment. 1. The data type of the set collection: array (or...

  • I am using python, thanks! 2. Write code to create 2 sets with the following integers...

    I am using python, thanks! 2. Write code to create 2 sets with the following integers as members: 10, 20, 30, 40 and 30, 40, 50, 90. Create another set containing all the elements of set1 and set2, and assigns the resulting set to the variable set3. Create another set containing only the elements that are found in both set1 and set2, and assigns the resulting set to the variable set4. create another set containing the elements that appear in...

  • The question exercises the union, intersection, and the intersection operations of two set of strings (names)....

    The question exercises the union, intersection, and the intersection operations of two set of strings (names). For this type of problem, you need to preserve the original sets from being modified by some of the set method. You can used the clone( ) method to copy the sets or simply create another set using the same array contents as the original. You can find an example of the clone() for the LinkedHashSet set in   the provided “skeleton” program (assign8_Q3.java) code...

  •      program will enter data into two single dimension arrays (do not st...

         program will enter data into two single dimension arrays (do not store duplicate values in arrays)      program will find the union and intersection of the two arrays using one function      program will find the symmetric difference of two arrays      program will display the union, intersection, and symmetric difference   */     short* input_data(short size);   // function to dynamically allocate and array and enter data into the array void display_data(short *data, short size); // function to display data in an array void get_union_intersection(short...

  • This is a standard C++ programming assignment using a command line g++ compiler or the embedded...

    This is a standard C++ programming assignment using a command line g++ compiler or the embedded one in zyBooks. No GUI forms and no Visual Studio. No external files and no databases are used. There is only one object-oriented program to complete in this assignment. All code should be saved in a file named ExamScoresUpdate.cpp, which is the only file to submit for grading. No .h files used. The .cpp file contains main() and two classes, ExamScores and DataCollector. There...

  • I can't get my code to work on xcode and give me an output. #include <conio.h> #include <cstdlib> #incl...

    I can't get my code to work on xcode and give me an output. #include <conio.h> #include <cstdlib> #include <fstream> #include <iomanip> #include <iostream> #include <string> #include <vector> using namespace std; // So "std::cout" may be abbreviated to "cout" //Declare global arrays int dummy1[10]; int dummy2[10]; int dummy3[10]; int universalSet[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; //Function to return statement "Empty thread" when the resultant set is empty string isEmpty(int arr[]) { string...

  • Answer the following questions for the method intersection () below: public Set intersection (Set s1, Set s2) //Effects: If s1 or s2 is null throw NullPointerException /I else return a (non nul) Set...

    Answer the following questions for the method intersection () below: public Set intersection (Set s1, Set s2) //Effects: If s1 or s2 is null throw NullPointerException /I else return a (non nul) Set equal to the intersection // of Sets s1 and s2 Characteristic: Validity of s1 -s1 has at least one element Characteristic: Relation between s1 and s2 s1 and s2 represent the same set -$1 is a subset of s2 - s2 is a subset of s1 $1...

  • WEEK 2 DISCUSSION ANSWER THE FOLLOWING QUESTIONS BELOW: Create or find definitions for Business Impact Assessment,...

    WEEK 2 DISCUSSION ANSWER THE FOLLOWING QUESTIONS BELOW: Create or find definitions for Business Impact Assessment, Vulnerability Assessment, Penetration Test, and Risk Assessment. Please put these definitions in your own words rather than copying them from a source. What are the differences and similarities between them? When would you use each? Which one(s) have you used? How can each be leveraged by an organization to better understand and manage their risks?

  • please anyone answer all the questions as soon please 2 4 3 3 4 1. Given...

    please anyone answer all the questions as soon please 2 4 3 3 4 1. Given three points A = (0,–8, 10), B = (2, -5, 11), C = (-4,-9, 7) in R3. (a) Show that these three points are not collinear (not in a straight line). (b) Find the area of the triangle ABC. (c) Find the scalar equation of the plane containing the points A, B and C. (d) Find a point D on the plane such that...

  • Question 4 2 pts Use the following to answer the questions below: For each set of...

    Question 4 2 pts Use the following to answer the questions below: For each set of reactants, select a correct product characterization from the response list. Responses may be used more than once or need not be used at all. a) hemiacetal b) acetal c) alkene d) alcohol Ketone, two alcohols, acid catalyst Question 6 Use the following to answer the questions below: Characterize each compound in terms of functional groups present using the response list. Responses may be used...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT