Question

1. Solve the following two " union " type questions: (a) How many bit strings of...

1. Solve the following two " union " type questions:
(a) How many bit strings of length 9 either begin with 2 0s or end with 2 1s? (inclusive or)

(b) Every student in a discrete math class is either a computer science or a mathematics major or is a joint major in these two subjects. How many students are in the class if there are 30

computer science majors (including joint majors), 20 math majors (including joint majors) and 10 joint majors?

2. How many elements are in the union of four sets if each of the sets has 99 elements, each pair of sets share 51 elements, each triple of sets shares 24 elements and there are 2 elements in all four sets.
3. One of Shakespeare's sonnets has a verb in 12 of its 15 lines, an adjective in 9 lines, and both in 7 lines.
How many lines have a verb but no adjective?
How many lines have an adjective but no verb?
How many have neither an adjective nor a verb?

Homework Answers

Answer #1

Answer:

2.

Consider,

P(A U B U C U D) = P(A) + P(B) + P(C) + P(D) - P(A ⋂ B) - P(B ⋂ C) - P(C ⋂ D) - P(D ⋂ A) + P(B ⋂ C ⋂ D) + P(C ⋂ D ⋂ A) + P(C ⋂ D⋂ A) + P(D ⋂ A ⋂ B) - P(A ⋂ B ⋂ C ⋂ D) - P(A ⋂ C) - P(B ⋂ D)

substitute the given values

= 4*99 - 6*51 + 4*24 - 2

= 396 - 306 + 96 - 2

= 184

So there are 184 elements in the union set.

3.

Given,

n(u) = 15

n(A) = 12

n(B) = 9

n(A ⋂ B) = 7

a)

To give number of lines have a verb but no adjective n(A - B)

i.e.,

= n(A) - n(A ⋂ B)

substitute values

= 12 - 7

= 5

b)

To give number of lines have an adjective but no verb

n(B - A) = n(B) - n(A ⋂ B)

= 9 - 7

= 2

c)

To give neither an adjective nor a verb

i.e.,

n(u) - n(A U B)

= 15 - (12 + 9 - 7)

= 15 - 14

= 1

I hope it works for you,

Please post the 1st question as separate post. Thank you.

Know the answer?
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
Similar Questions
1. Solve the following two " union " type questions: (a) How many bit strings of...
1. Solve the following two " union " type questions: (a) How many bit strings of length 9 either begin with 2 0s or end with 2 1s? (inclusive or) (b) Every student in a discrete math class is either a computer science or a mathematics major or is a joint major in these two subjects. How many students are in the class if there are 30 computer science majors (including joint majors), 20 math majors (including joint majors) and...
Do each of the following. a) How many ternary strings of length 20 contain at least...
Do each of the following. a) How many ternary strings of length 20 contain at least four 1s? (Hint: A ternary string consists of 0s, 1s, and 2s.) b) How many ternary strings of length 20 contain exactly four 1s?
How many bit strings of length 20 are there that contain eight 1s and twelve 0s...
How many bit strings of length 20 are there that contain eight 1s and twelve 0s so that each 1 is followed by one 0 immediately?
1. (4 pts) Consider all bit strings of length six. a) How many begin with 01?...
1. (4 pts) Consider all bit strings of length six. a) How many begin with 01? b) How many begin with 01 and end with 10? c) How many begin with 01 or end with 10? d) How many have exactly three 1’s? 2. (8 pts) Suppose that a “word” is any string of six letters. Repeated letters are allowed. For our purposes, vowels are the letters a, e, i, o, and u. a) How many words are there? b)...
1.How many possible orderings of letters ABCDEFG are there? 2.How many strings of length 4 can...
1.How many possible orderings of letters ABCDEFG are there? 2.How many strings of length 4 can be made using the letters ABCDEFG? 3.How many subsets of size 4 are there of the letters ABCDEFG. 4.How many possible strings are there of the letters "MATTER"? 5.Consider four books: an engineering book (E), a physics book (P), a history book (H), and an Art book (A). Consider the following problem: Suppose that the library has at least six copies of each of...
discrete mathematics 1. How many element are in A1 È A2 if there are 12 elements...
discrete mathematics 1. How many element are in A1 È A2 if there are 12 elements A1, 18 elements in A2 and a) A1 Ç A2 =Æ? b) | A1 Ç A2 | =1? c) | A1 Ç A2 | =6? d) A1 Í A2? 2. There are 345 students at a college who have taken a course in calculus, 212 who have taken a course in discrete mathematics and 188 who have taken courses in both calculus and discrete...
1) For the given decision algorithm, find how many outcomes are possible. Step 1:   Step 2:...
1) For the given decision algorithm, find how many outcomes are possible. Step 1:   Step 2: Alternative 1: 1 outcome Alternative 1: 5 outcomes Alternative 2: 3 outcomes Alternative 2: 3 outcomes Alternative 3: 3 outcomes 2) A bag contains three red marbles, two green ones, one lavender one, two yellows, and four orange marbles. How many sets of five marbles include either the lavender one or exactly one yellow one but not both colors? 3) If a die is...
Question 1 - Solve the following questions: 1.1 - Prove by the Principle of Mathematical Induction...
Question 1 - Solve the following questions: 1.1 - Prove by the Principle of Mathematical Induction that 1 × 1! + 2 × 2! + 3 × 3! + ... + n × n! = (n + 1)! – 1 for all natural numbers n. 1.2 - a) How many license plates can be made using either four digits followed by five uppercase English letters or six uppercase English letters followed by three digits? b) Seven women and nine men...
ABC Computer Company makes quarterly decisions about their product mix. The company is considering only two...
ABC Computer Company makes quarterly decisions about their product mix. The company is considering only two of their products, notebook computers and desktop computers. ABC Computer Company would like to know how many of each product to produce in order to maximize profit for the quarter.There are a number of limits on what ABC Computer Company can produce.The major constraints are as follows: 1. Each computer (either notebook or desktop) requires a Processing Chip. Due to tightness in the market,...
Use Python 3.8: Problem Description Many recipes tend to be rather small, producing the fewest number...
Use Python 3.8: Problem Description Many recipes tend to be rather small, producing the fewest number of servings that are really possible with the included ingredients. Sometimes one will want to be able to scale those recipes upwards for serving larger groups. This program's task is to determine how much of each ingredient in a recipe will be required for a target party size. The first inputs to the program will be the recipe itself. Here is an example recipe...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT