[gesichtete Version] | [gesichtete Version] |
Keine Bearbeitungszusammenfassung |
|||
Zeile 91: | Zeile 91: | ||
</p> | </p> | ||
<p> | <p> | ||
<math>(\neg A \lor B \lor C) \quad \land \quad (\neg A \lor \neg B \lor C)</math> | <math> | ||
(\neg A \lor B \lor C) \quad \land \quad (\neg A \lor \neg B \lor C) | |||
</math> | |||
</p> | </p> | ||
<p> | <p> | ||
Zeile 114: | Zeile 116: | ||
<br /> | <br /> | ||
=== Aufgabe 2 === | === Aufgabe 2 === | ||
<p> | |||
<loop_area type="task"> | |||
<loop_task title="Vervollständige die Tabelle und frag dich warum"> | |||
<p> | |||
Vervollständige die Ergebnisspalte der Wahrheitstafel: | |||
</p> | |||
<p> | |||
{| class="wikitable" | |||
! <math>A</math> | |||
! <math>B</math> | |||
! <math>C</math> | |||
! <math>\neg A \lor B \lor (C \land \neg A) \lor \neg B \lor C</math> | |||
|- | |||
| style="text-align:center" | <math>0</math> | |||
| style="text-align:center" | <math>0</math> | |||
| style="text-align:center" | <math>0</math> | |||
| style="text-align:center" | <math></math> | |||
|- | |||
| style="text-align:center" | <math>0</math> | |||
| style="text-align:center" | <math>0</math> | |||
| style="text-align:center" | <math>1</math> | |||
| style="text-align:center" | <math></math> | |||
|- | |||
| style="text-align:center" | <math>0</math> | |||
| style="text-align:center" | <math>1</math> | |||
| style="text-align:center" | <math>0</math> | |||
| style="text-align:center" | <math></math> | |||
|- | |||
| style="text-align:center" | <math>0</math> | |||
| style="text-align:center" | <math>1</math> | |||
| style="text-align:center" | <math>1</math> | |||
| style="text-align:center" | <math></math> | |||
|- | |||
| style="text-align:center" | <math>1</math> | |||
| style="text-align:center" | <math>0</math> | |||
| style="text-align:center" | <math>0</math> | |||
| style="text-align:center" | <math></math> | |||
|- | |||
| style="text-align:center" | <math>1</math> | |||
| style="text-align:center" | <math>0</math> | |||
| style="text-align:center" | <math>1</math> | |||
| style="text-align:center" | <math></math> | |||
|- | |||
| style="text-align:center" | <math>1</math> | |||
| style="text-align:center" | <math>1</math> | |||
| style="text-align:center" | <math>0</math> | |||
| style="text-align:center" | <math></math> | |||
|- | |||
| style="text-align:center" | <math>1</math> | |||
| style="text-align:center" | <math>1</math> | |||
| style="text-align:center" | <math>1</math> | |||
| style="text-align:center" | <math></math> | |||
|- | |||
|} | |||
</p> | |||
<p> | |||
<math>(\neg A \lor B \lor C) \quad \land \quad (\neg A \lor \neg B \lor C)</math> | |||
</p> | |||
<p> | |||
Oder anders gefragt:<br /> | |||
Was würde sich ändern, wenn man auf die Klammern verzichtet? | |||
</p> | |||
<spoiler text="Hinweis"> | |||
<p> | |||
Wenn du von diesem Term ausgehst | |||
</p> | |||
<p> | |||
<math>(\neg A \lor B \lor C) \quad \land \quad (\neg A \lor \neg B \lor C)</math> | |||
</p> | |||
<p> | |||
und einfach die Klammern weglässt | |||
</p> | |||
<p> | |||
<math>\neg A \lor B \lor C \quad \land \quad \neg A \lor \neg B \lor C</math> | |||
</p> | |||
<p> | |||
dann greift die größere Bindungsstärke des logische UND (<math>\land</math>) gegenüber dem logischen ODER (<math>\lor</math>) und du erhältst | |||
</p> | |||
<p> | |||
<math>\neg A \lor B \lor (C \quad \land \quad \neg A) \lor \neg B \lor C</math> | |||
</p> | |||
<p> | |||
Die Terme sind dann nicht mehr logisch äquivalent! | |||
</p> | |||
<p> | |||
<math>(\neg A \lor B \lor C) \quad \land \quad (\neg A \lor \neg B \lor C) \qquad \not\equiv \qquad \neg A \lor B \lor (C \quad \land \quad \neg A) \lor \neg B \lor C</math> | |||
</p> | |||
<p> | |||
Und wenn zwei Terme nicht logisch äquivalent sind, dann sind auch die Ergebnisspalten in der zugehörigen Wahrheitstafel unterschiedlich. | |||
</p> | |||
<p> | |||
{| class="wikitable" | |||
! <math>A</math> | |||
! <math>B</math> | |||
! <math>C</math> | |||
! <math><math>(\neg A \lor B \lor C) \quad \land \quad (\neg A \lor \neg B \lor C)</math></math> | |||
! <math>\neg A \lor B \lor (C \land \neg A) \lor \neg B \lor C</math> | |||
|- | |||
| style="text-align:center" | <math>0</math> | |||
| style="text-align:center" | <math>0</math> | |||
| style="text-align:center" | <math>0</math> | |||
| style="text-align:center" | <math>1</math> | |||
| style="text-align:center" | <math></math> | |||
|- | |||
| style="text-align:center" | <math>0</math> | |||
| style="text-align:center" | <math>0</math> | |||
| style="text-align:center" | <math>1</math> | |||
| style="text-align:center" | <math>1</math> | |||
| style="text-align:center" | <math></math> | |||
|- | |||
| style="text-align:center" | <math>0</math> | |||
| style="text-align:center" | <math>1</math> | |||
| style="text-align:center" | <math>0</math> | |||
| style="text-align:center" | <math>1</math> | |||
| style="text-align:center" | <math></math> | |||
|- | |||
| style="text-align:center" | <math>0</math> | |||
| style="text-align:center" | <math>1</math> | |||
| style="text-align:center" | <math>1</math> | |||
| style="text-align:center" | <math>1</math> | |||
| style="text-align:center" | <math></math> | |||
|- | |||
| style="text-align:center" | <math>1</math> | |||
| style="text-align:center" | <math>0</math> | |||
| style="text-align:center" | <math>0</math> | |||
| style="text-align:center" | <math>0</math> | |||
| style="text-align:center" | <math></math> | |||
|- | |||
| style="text-align:center" | <math>1</math> | |||
| style="text-align:center" | <math>0</math> | |||
| style="text-align:center" | <math>1</math> | |||
| style="text-align:center" | <math>1</math> | |||
| style="text-align:center" | <math></math> | |||
|- | |||
| style="text-align:center" | <math>1</math> | |||
| style="text-align:center" | <math>1</math> | |||
| style="text-align:center" | <math>0</math> | |||
| style="text-align:center" | <math>1</math> | |||
| style="text-align:center" | <math></math> | |||
|- | |||
| style="text-align:center" | <math>1</math> | |||
| style="text-align:center" | <math>1</math> | |||
| style="text-align:center" | <math>1</math> | |||
| style="text-align:center" | <math>0</math> | |||
| style="text-align:center" | <math></math> | |||
|- | |||
|} | |||
</p><p> | |||
Deshalb denke daran:<br> | |||
Das logische UND (<math>\land</math>) bindet stärker als das logischen ODER (<math>\lor</math>). | |||
</p> | |||
</spoiler> | |||
</loop_task> | |||
</loop_area> | |||
</p> | |||
<br /> | |||
=== Aufgabe 3 === | |||
<p> | <p> | ||
<loop_area type="task"> | <loop_area type="task"> |
Gegeben sei die folgende Wahrheitstafel.
, und sind die Variablen, ist der Funktionswert.
Aus dieser Wahrheitstafel resultiert der folgende Term in KNF (konjunktiver Normalform):
Ein Term in KNF ist eine Konjunktion von Disjunktionen!
Das folgende Video zeigt, wie der Term in KNF aus der Wahrheitstafel gebildet wird:
Wenn Sie dieses Element öffnen, werden Inhalte von externen Dienstleistern geladen und dadurch Ihre IP-Adresse an diese übertragen.
Warum sind in dem folgenden Term die Klammern wichtig?
Oder anders gefragt:
Was würde sich ändern, wenn man auf die Klammern verzichtet?
Vervollständige die Ergebnisspalte der Wahrheitstafel:
Oder anders gefragt:
Was würde sich ändern, wenn man auf die Klammern verzichtet?
In einer gegebenen Wahrheitstafel finden sich in der Ergebnisspalte die Funktionswerte Null (0) bzw. Eins (1). Welcher dieser beiden Werte ist für die Bildung der KNF (konjunktiven Normalform) aus der Wahrheitstafel von Bedeutung?