# hw2 - CS 173 Discrete Structures Spring 2010 Homework 2...

This preview shows pages 1–2. Sign up to view the full content.

CS 173: Discrete Structures, Spring 2010 Homework 2 This homework contains 6 problems worth a total of 50 points. It is due on Friday, Febru- ary 5th at 4pm. (As usual, put your homework in the appropriate dropbox in the Siebel basement.) 1. [9 points] Logic notation Translate the following sentences into propositional or predicate logic. Use the short- hand symbols (e.g. ) and define the meaning of each of your predicates and proposi- tional variables. (See pages 11 and 42-43 of Rosen for examples.) Be sure to include a domain (aka replacement set) for each quantified variable. You may need to rewrite the sentences slightly so as to make a variable more explicit. (a) Every cookie that contains lots of butter is tasty but is also fattening. (b) Either the tablecloth is pink, or the tablecloth is white and the red light is shining on it. (c) Exactly one integer is equal to its own negation. For example, the sentence “Every car that is driven in Berkeley is a hybrid or runs on biodiesel.” might be rendered as x C, D ( x )

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern