Try it on paper first. A hint, the key idea and the worked solution are here when you need them.
A water heater has a safety cut-out. The cut-out switches the heater off (X = 1) when the water is too hot (T = 1). It also does so when the tank is empty (E = 1) and the pump is not running (P = 0).
Give each condition a letter and say what 1 means. and is AND, or is OR, not is NOT, but not both is XOR, neither nor is NOR. From a truth table: one AND term for each row with X = 1 (an input that is 0 gets NOT), joined by OR. Any expression with the same table is correct.
Have you tried it?
Work it out on paper first. It is fine to get stuck or make a mistake: that is how we learn. When you are ready, go through the solution one step at a time, and check each step against your own.
Step 1. The expression. X = T OR (E AND (NOT P)).
Step 2. The gates. NOT, AND and OR: gates.
Step 3. The rows. In the order T E P:
| T E P | X |
|---|---|
| 0 0 0 | 0 |
| 0 0 1 | 0 |
| 0 1 0 | 1 |
| 0 1 1 | 0 |
| 1 0 0 | 1 |
| 1 0 1 | 1 |
| 1 1 0 | 1 |
| 1 1 1 | 1 |
The 4 rows with T = 1 and the row 0 1 0: rows.
Step 4. The row 0 1 1. The pump is running, so the AND part is 0, and T = 0. X = .
Answer: (a) X = T OR (E AND (NOT P)). (b) . (c) . (d) .
Log in to join the discussion.
Loading…