For the proposition(p ∨¬r)∧(¬p∨(q∨¬r)
a. Draw the truth table
b. Build the logic circuit which outputs the given compound proposition from input bits p, q,
and r.
A professor in a discrete mathematics class passes out a form asking students to check all the mathematics and computer science courses they have recently taken. The finding is that out of a total of 50 students in the class, 30 took precalculus; 16 took both precalculus and Java; 18 took calculus; 8 took both calculus and Java; 26 took Java; 47 took at least one of the three courses; and 9 took both precalculus and calculus.
a. How many students did not take any of the three courses?
b. How many students took all three courses?
c. How many students took precalculus and calculus but not Java? How many students took precalculus but neither calculus nor Java?
Which of the following are partitions of , the set of real numbers? Explain your answers.
a. {In : n ∈ ℤ}, where In = {x ∈ ℝ : n ≤ x ≤ n + 1}
b. {Jn : n ∈ ℤ }, where Jn = {x ∈ ℝ: n ≤ x < n + 1}