30 likes | 153 Vues
This assignment explores logical expressions using propositional logic and predicate logic. It includes examples of expressing relationships in structured forms, such as who likes certain foods, the intelligence of chess players, and properties of book readers. It further examines the logical implications of student behavior, love for fictional characters, and familial relationships. This foundational understanding of logical quantifiers and predicates is essential for formal reasoning in mathematics and computer science.
E N D
SAMPLE ANSWER For Q2 and Q3 ASSIGNMENT ONE
Question 2 X p(X) Someone (something) is not p Y X people(X) food(Y) likes(X, Y) There is a food that everyone like it X people(X) plays(X, chess_game) smart(X) People who play chess game are smart X book(X) reads(thor, X) knowledgeable(thor) Thor reads all books and he is knowledgeable
Question 3 • No student is lazy X student(X) lazy(X) (b) Everyone who loves Spiderman are good X loves(X, spiderman) good(X) (c) The parent of Aladdin’s parent is his grandparent X Y parent(X, Y) parent(Y, aladdin) grandparent(X, aladdin)