ผลต่างระหว่างรุ่นของ "01204211/activity1 logic1"

จาก Theory Wiki
ไปยังการนำทาง ไปยังการค้นหา
แถว 2: แถว 2:
 
1. Let propositions <math>P</math> = "you go to see the movie Harry Potter," <math>Q</math> = "the movie Harry Potter is good," and <math>R</math> = "you have a good time.".  Express each sentence below as a propositional form using variables <math>P,Q,</math> and <math>R</math>.
 
1. Let propositions <math>P</math> = "you go to see the movie Harry Potter," <math>Q</math> = "the movie Harry Potter is good," and <math>R</math> = "you have a good time.".  Express each sentence below as a propositional form using variables <math>P,Q,</math> and <math>R</math>.
  
1.1
+
1.1 You do not go to see the movie Harry Potter.
  
1.2
+
1.2 If Harry Potter is good and you go to see it, you will have a good time.
  
1.3
+
1.3 You can have a good time, even if you do not go to see the movie Harry Potter.
 +
 
 +
1.4 If you go to see the movie Harry Potter and do not have a good time, the movie Harry Potter must be bad.
  
1.4
 
  
 
2. For each of these sentences, define appropriate propositional variables representing each proposition inside the statement and translate the statement into a propositional form.
 
2. For each of these sentences, define appropriate propositional variables representing each proposition inside the statement and translate the statement into a propositional form.
แถว 19: แถว 20:
  
 
2.4 You either learn to understand the customer or you fail to make a good product.
 
2.4 You either learn to understand the customer or you fail to make a good product.
 +
  
 
3. '''Quantifiers.''' Consider the universe to be "everything."  For each of these statements, define appropriate predicates can rewrite the statement using the defined predicates and quantifiers.  (Some predicate may have more than one variables)
 
3. '''Quantifiers.''' Consider the universe to be "everything."  For each of these statements, define appropriate predicates can rewrite the statement using the defined predicates and quantifiers.  (Some predicate may have more than one variables)
แถว 39: แถว 41:
  
 
3.7 When the economy is bad, only companies that can adapt survive.
 
3.7 When the economy is bad, only companies that can adapt survive.
 +
  
 
4. It seems that universal quantifiers are stronger than existential ones.  Is it true that for any set <math>A</math> and predicate <math>P(x)</math>,  
 
4. It seems that universal quantifiers are stronger than existential ones.  Is it true that for any set <math>A</math> and predicate <math>P(x)</math>,  

รุ่นแก้ไขเมื่อ 17:26, 19 สิงหาคม 2558

In-class activities

1. Let propositions = "you go to see the movie Harry Potter," = "the movie Harry Potter is good," and = "you have a good time.". Express each sentence below as a propositional form using variables and .

1.1 You do not go to see the movie Harry Potter.

1.2 If Harry Potter is good and you go to see it, you will have a good time.

1.3 You can have a good time, even if you do not go to see the movie Harry Potter.

1.4 If you go to see the movie Harry Potter and do not have a good time, the movie Harry Potter must be bad.


2. For each of these sentences, define appropriate propositional variables representing each proposition inside the statement and translate the statement into a propositional form.

2.1 It is raining or it is very hot.

2.2 If you like Thai food, you will enjoy the trip to the Night Market.

2.3 The only way you can finish a marathon is that you practice a lot and have strong will to fight.

2.4 You either learn to understand the customer or you fail to make a good product.


3. Quantifiers. Consider the universe to be "everything." For each of these statements, define appropriate predicates can rewrite the statement using the defined predicates and quantifiers. (Some predicate may have more than one variables)

3.1 Every human must die.

3.2 Some animal eats other animals.

3.3 If a student works hard, that student will be successful.

For questions 3.4 and 3.5, consider the universe to be a set of all people.

3.4 Everyone has someone that care about him or her.

3.5 There is someone that everyone cares about.

For questions 3.6 and 3.7, consider the universe to be a set of all companies.

3.6 When the economy is good, any companies can make good profits.

3.7 When the economy is bad, only companies that can adapt survive.


4. It seems that universal quantifiers are stronger than existential ones. Is it true that for any set and predicate ,

?

Homework