Solve the following two " union " type questions: (a) How many bit strings of length 8 either begin with 2 0s or end with 1 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 36 computer science majors (including joint majors), 29 math majors (including joint majors) and 5 joint majors?
The Answer to the Question
is below this banner.
Can't find a solution anywhere?
NEED A FAST ANSWER TO ANY QUESTION OR ASSIGNMENT?
Get the Answers Now!You will get a detailed answer to your question or assignment in the shortest time possible.
Here's the Solution to this Question
(a) There are a total of strings that start with two 0's and strings that ends with 1. We need to find the cardinality of a set . The Sum Rule gives us . Set contains strings of length 8 that both begin with 00 and end with 1 ().
Answer:
(b) Let be a set of computer science majors and represents maths majors. We need to find the cardinality of set . We are given . The cardinality of a union of the two following sets is as follows
.
Answer: 60 students.