Homework on sets 1. let the universe be the set U (1,23. .,1.0), A (147,10), B- (1,2 list the ele...
Let U={1,2,3,4,5,6} A={1,2,3} B={1,3,5} C={5,6} List the elements of the following sets. (a) (A union B)', (b) A intersection B intersection C, (c) A'intersection B intersection C (d) A'intersection C'
someone please help Let U be the universal set, where: U = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17) Let sets A, B, and C be subsets of U, where: A = {1, 3, 4, 5, 12, 14, 15) B = {1, 2, 7, 13} C = {3, 7, 10, 14, 16} Find the following: LIST the elements in the set A U : AU = { Enter the elements...
11. Let the universal set be the set U = {a,b,c,d,e,f,g} and let A = {a,c,e,g} and B = {d, e, f, g}. Find: A ∪ B 12. Let the universal set be the set U = {a,b,c,d,e,f,g} and let A = {a,c,e,g} and B = {d, e, f, g}. Find: b. A ∩ B 13. Let the universal set be the set U = {a,b,c,d,e,f,g} and let A = {a,c,e,g} and B = {d, e, f, g}. Find: AC...
Could you please answer the question Q1 to Q3. Write the answer clearly and step by step. 1 Let U = {1, 2, 3, 4, 5, 6, 7} be the universe. Form the set A as follows: Read off your seven digit student number from left to right. For the first digit ni include the number 1 in A if ni is even otherwise omit 1 from A. Now take the second digit n2 and include the number 2 in...
1. Let A = {a1, ..., an} and B = {b1, ..., bm} be two sets of numbers. Consider the problem of finding their intersection, i.e., the set C of all the numbers that are in both A and B. a. Design a presorting based algorithm for solving this problem and determine its efficiency class. 2. Estimate how many searches will be needed to justify time spent on presorting an array of 103 elements if sorting is done by mergesort...