Docsity

CECS 228 Group Exercise - Logic and Reasoning, Study Guides, Projects, Research of Discrete Structures and Graph Theory

Toggle sidebar
bg1
CECS 228 – Group Exercise on 9/7/04
Due Thursday, 9/9/04
Group members:Name_______________________________ Email: _______________________________
Name_______________________________ Email: _______________________________
Name_______________________________ Email: _______________________________
1. Problem 24 in Section 1.2 : Show that p ( q r) and q ( p r ) are logically equivalent by
a) Using a truth table
p | q | r |
---------------------------------------------------------------------------------------------------------------------------------------
|||
|||
|||
|||
|||
|||
|||
|||
b) Applying known logical equivalences
2. Problem 10 in Section 1.3
Define C(x) “x has a cat”,
D(x)
F(x)
where the universe of discourse for variable x consists of
Express each of the following statements in terms of C(x), D(x), F(x), quantifiers, and logical connectives.
a) A student in your class has a cat, a dog, and a ferret.
b) All students in your class have a cat, a dog, or a ferret.
c) Some student in your class has a cat and a ferret, but not a dog.
…/continue on the other side
pf2

Partial preview of the text

Download CECS 228 Group Exercise - Logic and Reasoning and more Study Guides, Projects, Research Discrete Structures and Graph Theory in PDF only on Docsity!

CECS 228 – Group Exercise on 9/7/

Due Thursday, 9/9/ Group members:Name_______________________________ Email: _______________________________ Name_______________________________ Email: _______________________________ Name_______________________________ Email: _______________________________

1. Problem 24 in Section 1.2 : Show that  p  ( qr ) and q  ( pr ) are logically equivalent by a) Using a truth table p | q | r |


| | | | | | | | | | | | | | | | | | | | | | | | b) Applying known logical equivalences 

2. Problem 10 in Section 1. Define C ( x )  “ x has a cat”, D ( x )  F ( x )  where the universe of discourse for variable x consists of Express each of the following statements in terms of C ( x ), D ( x ), F ( x ), quantifiers, and logical connectives. a) A student in your class has a cat, a dog, and a ferret. b) All students in your class have a cat, a dog, or a ferret. c) Some student in your class has a cat and a ferret, but not a dog. …/continue on the other side

d) No student in your class has a cat, a dog, and a ferret. e) For each of the three animals, cats, dogs, and ferrets, there is a student in your class who has one of these animals as a pet.

3. Problem 36 in Section 1. Translate each of the following system specifications into English where the predicate S ( x , y ) is “ x is in state y ” and where the universe of discourse for x and y consists of all systems and all possible states, respectively. a)  x S ( x , open) b)  x ( S ( x , malfunctioning)  S ( x , diagnostic) ) c)  x S ( x , open)   x S ( x , diagnostic) d)  xS ( x , available) e)  xS ( x , working)