An automated safety system on a cargo ship triggers an emergency bilge pump if water is detected in the lower hold, provided that the main engine is running or the manual override has been activated.
This can be represented by the inputs:
The logic rule for triggering the bilge pump is given by: W and (E or M)W \text{ and } (E \text{ or } M)W and (E or M)
Complete the truth table by identifying the missing values for [A], [B], [C], [D], [E], and [F].
| WWW | EEE | MMM | E or ME \text{ or } ME or M | W and (E or M)W \text{ and } (E \text{ or } M)W and (E or M) |
|---|---|---|---|---|
| 0 | 0 | 0 | 0 | [A] |
| 0 | 0 | 1 | [B] | 0 |
| 0 | 1 | 0 | 1 | [C] |
| 0 | 1 | 1 | 1 | 0 |
| 1 | 0 | 0 | [D] | 0 |
| 1 | 0 | 1 | 1 | [E] |
| 1 | 1 | 0 | [F] | 1 |
| 1 | 1 | 1 | 1 | 1 |