Home › Practice › Digital Fundamentals › K-map: the greenhouse fan
K-map: the greenhouse fan
EasyK-mapcombinationallogic
A greenhouse has an exhaust fan with three inputs. A is 1 when the air is hot, B is 1 when the air is humid, and C is 1 when the vent door is open. The grower asks for these rules:
- The fan runs when it is hot and humid, to dry the air.
- The fan also runs when the air is not humid and the vent door is open, to clear dust.
- It never runs in any other situation.
Concept first. A real request is a sentence, and a sentence can hide a simple answer. The way to get it is in three steps. First turn each rule into cells of the K-map: a rule such as "hot and humid" is every cell where those inputs have those values, whatever the other input is. Second, group the 1s into the largest rectangles you can. Third, read each group as a product term and add the terms together. One thing to watch: the groups do not have to match the way the sentence was written. When you have drawn your groups, ask whether every one of them is really needed.
What to do. Fill in the map from the rules. Group the 1s. Then type the equation in the box under the map (write NOT as a prime, OR as +) and press Check. The equation must be as simple as it can be.
No install and no sign-up needed. You write your answer in the editor and Nishkam checks it.