PREDICATE LOGIC: A.Write the following predicates symbolically and determine their true value. Note: Use at least three (3) values for the variables. 1. for every real number x, if x>1 then x – 1 > 1 2. for some real number x, x2 ≤ 0 B. Translate the following English sentence into a symbol. (3 pts each) 1. No one in this class is wearing pants and a guitarist. Let: Domain of x is all persons A(x): x is wearing pants B(x): x is a guitarist C(x): belongs to the class Answer: 2. No one in this class is wearing pants and a guitarist. Let: The domain of x is persons in this class A(x): x is wearing pants B(x): x is a guitarist Answer: 3. There is a student at your school who knows C++ but who doesn’t know Java. Let: Domain: all students at your school C(x): x knows C++ J(x): x knows Java Answer:
The Answer to the Question
is below this banner.
Can't find a solution anywhere?
NEED A FAST ANSWER TO ANY QUESTION OR ASSIGNMENT?
Get the Answers Now!You will get a detailed answer to your question or assignment in the shortest time possible.
Here's the Solution to this Question
PREDICATE LOGIC:
A.Write the following predicates symbolically and determine their true value.
Note: Use at least three (3) values for the variables.
1. for every real number x, if x>1 then x – 1 > 1
Answer:
Let:
Domain of x is all real number
P(x) : x > 1
Q(x) : x – 1 > 1
Answer: x(P(x) → Q(x))
Truth value: x = {3,4,5} satisfies this statement
2. for some real number x,
Answer:
Domain of x is all real number
P(x) :
Answer: x(P(x))
Truth value: there is only one value x = 0 satisfies predicate P(x)
B. Translate the following English sentence into a symbol. (3 pts each)
1. No one in this class is wearing pants and a guitarist.
Let:
Domain of x is all persons
A(x): x is wearing pants
B(x): x is a guitarist
C(x): belongs to the class
Answer: !x(C(x) and A(x) and B(x))
2. No one in this class is wearing pants and a guitarist.
Let:
The domain of x is persons in this class
A(x): x is wearing pants
B(x): x is a guitarist
Answer: !x(A(x) and B(x))
3. There is a student at your school who knows C++ but who doesn’t know Java.
Let:
Domain: all students at your school
C(x): x knows C++
J(x): x knows Java
Answer: x(C(x) and !J(x))