Главная Случайная страница


Полезное:

Как сделать разговор полезным и приятным Как сделать объемную звезду своими руками Как сделать то, что делать не хочется? Как сделать погремушку Как сделать так чтобы женщины сами знакомились с вами Как сделать идею коммерческой Как сделать хорошую растяжку ног? Как сделать наш разум здоровым? Как сделать, чтобы люди обманывали меньше Вопрос 4. Как сделать так, чтобы вас уважали и ценили? Как сделать лучше себе и другим людям Как сделать свидание интересным?


Категории:

АрхитектураАстрономияБиологияГеографияГеологияИнформатикаИскусствоИсторияКулинарияКультураМаркетингМатематикаМедицинаМенеджментОхрана трудаПравоПроизводствоПсихологияРелигияСоциологияСпортТехникаФизикаФилософияХимияЭкологияЭкономикаЭлектроника






Exercises





 

1. Symbolize the following statements by formulas.

a) A relation is an equivalence relation if and only if it is reflexive, symmetric and transitive.

b) If the humidity is so high, it will rain either this afternoon or this evening.

c) Cancer will not be cured unless its cause is determined and a new drug for cancer is found.

d) It requires courage and skills to climb that mountain.

e) If he is a man, who campaigns so hard, he probably will be elected.

 

2. Given:

P = "he needs a doctor"

Q = "He needs a lawyer"

R = "He has an accident"

S = "He is sick"

U = "He is injured"

State the following formulas in English:

a) (S → P)∧(R→Q)

b) P→(S∨U)

c) (P∧Q)→R

d) (P∧Q)↔(S∧U)

e) ~(S∨U)→~P

 

3. For each of the following formulas, determine whether it is valid, invalid, inconsistent or some combination of these.

4. Consider the following statement: If the congress refuses to enact new laws, then the strike will not be over unless it lasts more than one year and the president of the firm resigns, and if either the congress enacts new laws or the strike is not over then the strike lasts more than one year.

Is the above statement contradictory? Explain.

 

5. Transform the following into disjunctive normal forms.

(S → P)∧(R→Q)

6. Transform the following into conjunctive normal forms.

(S → P)∧(R→Q)

7. Is it possible to have a formula that is in conjunctive normal form as well as disjunctive normal form? If yes, give an example.

8. Verify each of the following pairs of equivalent formulas by transforming them on both sides of the sign "=" into the same normal form.

(формулы см. в русс. книге)

 

9. Prove that(~Q →~P) is a logical consequence of (Q →P)

10. Consider the following statements:

F1 = "Tom cannot be a good student unless he is smart and his father supports him."

F2 = "Tom is a good student only if his father supports him."

Show that F2 is a logical consequence of F1.

11. Show that for the following statements, F2 is a logical consequence of F1.

F1 = "If the president does not have the appropriate authority or if he does not want to take responsibility, then neither order will be restored nor will the riots stop spreading unless the rioters become tired of rioting and the local authorities begin to take conciliatory actions."

F2 = "If the president does not want to take responsibility and the rioters are tired of rioting, then the riots will spread."

12. Show that Q is a logical consequence of (P→Q) and P. This is related to so-called modus ponens rule.

 

Date: 2015-12-11; view: 409; Нарушение авторских прав; Помощь в написании работы --> СЮДА...



mydocx.ru - 2015-2024 year. (0.008 sec.) Все материалы представленные на сайте исключительно с целью ознакомления читателями и не преследуют коммерческих целей или нарушение авторских прав - Пожаловаться на публикацию