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?
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)...
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,...
QUESTION 1 You flip a coin and roll a 10 sided die. How many elements are...
QUESTION 1 You flip a coin and roll a 10 sided die. How many elements are in the sample space?   QUESTION 2 You flip a coin and roll a 10 sided die. What is the probability getting a tail and rolling a 5? QUESTION 3 How many ways can you select 2 items from 20 if order does not matter? QUESTION 4 How many ways can you select 2 items from 20 if order matters? QUESTION 5 Suppose that we...
Answer the next five questions based on the following information. You are studying a particular type...
Answer the next five questions based on the following information. You are studying a particular type of spider and have identified four traits that follow simple mendelian genetics. The B gene governs body color and black body color is dominant to brown. The D gene governs whether or not the spider is poisonous, and poisonous is dominant to non-poisonous. The E gene governs eye color and black eyes are dominant to red eyes. The H gene governs hair type and...
Instructions: For this discussion, everyone in a prior class told me how many siblings they have....
Instructions: For this discussion, everyone in a prior class told me how many siblings they have. That data is in the chart (below). For example, if someone had three siblings, then they put an X in the row for Three Siblings. First, determine the frequency of siblings. Then answer the questions that follow/ Number of Siblings Running Tally of Number of Siblings (Brothers and Sisters) (Put a x each time the category applies) Frequency Zero (no) siblings xxxxxxxxxxx 11 One...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT