Docsity

Discrete Mathematics Homework Assignment, Assignments of Computer Communication Systems

Toggle sidebar
bg1
CSC 250: Homework One
Please submit, via Canvas, your solutions to the following problems, by 11:59pm, on Tuesday, January 30,
2024. Your answers will be in a Word document titled Homework One. Make sure that you type your first and
last name on the top of your assignment, please. You will just type the answers. Do not include the questions,
please. I should see, for example,
1. fill out and copy the table
2. 2a, your answer.
2b, your answer.
2c your answer.
3. your answer.
Etc.
#1
Fill out a truth table for each of the following propositions shown:
p q r p โ†’ q q โ†’ r (p โ†’ q) โˆง (q โ†’ r) p โ†’ r ((p โ†’ q) โˆง (q โ†’ r)) โ†’ (p โ†’ r)
T T T
T T F
T F T
T F F
F T T
F T F
F F T
F F F
##2:
Let p, q, and r be the following propositions:
p is: The water is warm.
q is: People are swimming.
r is: The waves are not big.
Express each of the following sentences using p, q, r, and the logical connectives and, or, not.
(a) The water is warm and people are swimming.
(b) If people are not swimming, then the water is not warm or the waves are big.
(c) If the waves are big and the water is warm, then the people are not swimming.
CSC 250 Homework One Page 1 of 3
pf3

Partial preview of the text

Download Discrete Mathematics Homework Assignment and more Assignments Computer Communication Systems in PDF only on Docsity!

CSC 250: Homework One

Please submit, via Canvas, your solutions to the following problems, by 11:59pm, on Tuesday, January 30, 2024. Your answers will be in a Word document titled Homework One. Make sure that you type your first and last name on the top of your assignment, please. You will just type the answers. Do not include the questions, please. I should see, for example,

  1. fill out and copy the table
  2. 2a, your answer. 2b, your answer. 2c your answer.
  3. your answer. Etc. # Fill out a truth table for each of the following propositions shown: p q r p โ†’ q q โ†’ r (p โ†’ q) โˆง (q โ†’ r) p โ†’ r ((p โ†’ q) โˆง (q โ†’ r)) โ†’ (p โ†’ r) T T T T T F T F T T F F F T T F T F F F T F F F ##2: Let p, q, and r be the following propositions: p is: The water is warm. q is: People are swimming. r is: The waves are not big. Express each of the following sentences using p, q, r, and the logical connectives and , or , not. (a) The water is warm and people are swimming. (b) If people are not swimming, then the water is not warm or the waves are big. (c) If the waves are big and the water is warm, then the people are not swimming.

Give a proof by contraposition of the following theorem. โ€œIf n is an integer and n^3 + 5 is odd, then n is evenโ€ If n is an integer and n^3 + 5 is odd, then n is even Proof by contraposition: We prove that: If n is odd, then n^3 + 5 is even. #4: Let A = {5, 6, 7} and B = {6, 7} (a) List the elements of (A U B) (b) List the elements of (B U A) (c) List the elements of (A U B) โˆฉ (B U A) #5: Write out the power set of the following set: {1, 2, 3, 4}. #6: Given the following bags, answer the questions: Let A = [l, l, m, m, n, n, n, n] and B = [l, m, m, m, n] (a) List the elements of (A U B) (b) List the elements of (A โˆฉ B) (c) List the elements of A + B (d) List the elements of A - B #7: Evaluate the following expression for the tuples shown: (a, b) ร— (1, 2, 3) #8: How do lists differ from tuples? #9: What elements are in this set? S = {x|x โˆˆ W; x โ‰ค 12} #10: Given: A = {1, 2, 3} B = {3, 4, 5}