blob: 933086ccf6c0635e5ffe3ef6a14acc494c4b0017 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
|
# Logic
TODO Manger at lave en summary.
## Opgaver
### 1.
A) Yes, T
B) Yes, T
C) Yes, T
D) Yes, T
E) No
F) No
### UNKNOWN ORIGIN (12.)
A) if you have the flu, you miss the final examination
B) you pass the course if and only if you do not miss the final examination
C) if you miss the final examination, you do not pass the course
D) you have the flu, miss the final examination and pass the couse
### 15. (13.)
A) ¬p
B) p ^ ¬q
C) p -> q
D) ¬p -> ¬q
E) p -> q
F) q ^ ¬p
G) q -> p
### 20. (18.)
A) T
B) T
C) F
D) T
### UNKNOWN ORIGIN(31.)
A)
| p | ¬p | p ^ ¬p |
| -- | -- | -- |
| T | F | F |
| F | T | F |
B)
| p | ¬p | p v ¬p |
| -- | -- | -- |
| T | F | T |
| F | T | T |
C)
| p | q | p v ¬q | ( p v ¬q) -> q |
| -- | -- | -- | -- |
| T | T | T | T |
| T | F | T | F |
| F | T | F | T |
| F | F | T | F |
D)
| p | q | ( p v q) -> ( p ^ q ) |
| -- | -- | -- |
| T | T | T -> T = T |
| T | F | T -> F = F |
| F | T | T -> F = F |
| F | F | F -> F = T |
E)
| p | q | (p -> q) | (¬q -> ¬p) | (p -> q) <-> (¬q -> ¬p ) |
| -- | -- | -- | -- | -- |
| T | T | T | T | T |
| T | F | F | F | T |
| F | T | T | T | T |
| F | F | T | T | T |
F)
| p | q | (p -> q) | ( q -> p ) | (p -> q) -> ( q -> p) |
| -- | -- | -- | -- | -- |
| T | T | T | T | T |
| T | F | F | T | T |
| F | T | T | F | F |
| F | F | T | T | T |
### (40. )
All the paranterees must be true, they can be split up.
r is in two parantesees ( q v ¬r ) and ( r v ¬p ).
If r is true q must also be true for ( q v ¬p ).
Therefore in ( p v ¬p ) p must also be true.
Therefore it creates a kind of circle, that also works then one is false.
### (44. )
A)
01011
11011
v-----
11011
11000
^-----
11000
B)
01111
10101
^-----
00101
01000
v-----
01101
C)
01010
11011
x-----
10001
01000
x-----
11001
D)
11011
01010
v-----
11011
10001
11011
v-----
11011
11011
11011
^-----
11011
### (7. )
Already done this
### (9. )
The rest is just stupid.
### (20. )
| p | q | p x q | p <-> q |
| -- | -- | -- | -- |
| T | T | F | T |
| T | F | T | F |
| F | T | T | F |
| F | F | F | T |
The two last columns are the negatives of each other thus
p x q = p <-> q
|