You are going on a quest! You will need a weapon but can only carry one, either a sword…
- User
You are going on a quest! You will need a weapon but can only carry one, either a sword (s), a bow (b) or an axe (a). If you take the sword you need to take a shield (h). If you take the bow you also want to take arrows (r), but if you don't take the bow you leave them since they would just be in the way. Additionally, you need to bring some food. In your pantry you find three items: A can of corn (c), some bread (e) and an apple (p). You can either take the apple or the can of corn. If you have the shield you cannot take the apple. Only if you take the axe, as a can opener, you can take the can of corn. If you take the arrows you have no space for the apple nor the bread. If and only if you have the sword, you take the apple.
Give a propositional formula using the propositional variables in parentheses to figure out what to take on your quest! Can you figure out what weapon and food you are taking? Explain your reasoning.
- Assistant