Spring-2011 CMSC 250: HW 4 Due: Wed Feb 23 at Beginning of Rec 1. (0 points) What is your name? Write it clearly. Staple your HW. 2. (10 points) Write the following English sentences in predicate logic. You can fool some of the people all of the time, and you can fool all of the people some of the time, but you can’t fool all of the people all of the time. Use F ( p,t ) for person p fooled at time t . 3. Consider the statement All that glitters is not gold. Throughout this problem use GL ( x ) for x glitters and GO ( x ) for x is gold. (a) Write this statement using predicate logic if it is to be interpreted literally. (b) Write the statement using prediate logic with the intended meaning. 4. (30 points) For this problem the domain is the natural numbers (includes 0). You may use + , × . (a) (5 point) Write a predicate Q 3( x ) which means that x is the sum of three squares. (b) (5 point) Write a predicate Q 4( x ) which means that x is the sum of four squares. (c) (10 points) Write a predicate
This is the end of the preview. Sign up
access the rest of the document.
This note was uploaded on 12/04/2011 for the course CMSC 250 taught by Professor Staff during the Spring '08 term at Maryland.