Mathematica An exercise from the book A Mathematical Introduction to Logic

Click For Summary
To determine which fork leads to the capital in a land of truth-tellers and liars, the optimal question to ask the local resident is, "If I asked you if the right way leads to the capital, would you say yes?" This question effectively accounts for both possibilities of the resident being a truth-teller or a liar. If the response is "yes," the right fork is the correct path; if "no," the left fork is the correct choice. The suggestion to "make a table" likely refers to organizing the possible outcomes based on the truthfulness of the resident and the correctness of the paths, helping to visualize the logic behind the question and its implications.
GreenApple
Messages
30
Reaction score
0

Homework Statement



you are in a land inhabinated by people who either always tell the truth or always tell falsehoods. You come to a fork in the road and you need to know which fork leads to the capital. There is a local resident there, but he has time only to reply to one yes-or-no question. What one question should you ask so as to learn which fork to take?
suggestion: Make a table.


Homework Equations





The Attempt at a Solution



If I asked you 'does the right way lead to the capital?', would you anwser 'yes'?
If the guy reply yes, take the right way. If no, the left.

I am wondering if I am surposed to ask questions about 'future' here?
What exactly does the writer mean by 'make a table'?
 
Physics news on Phys.org
That's a perfectly good answer. As far as "make a table", I suspect it refers to having two columns, whether the right or fork is correct, and two rows, whether the person tells the truth or lies, when considering what results a specific question would get.
 

Similar threads

Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 14 ·
Replies
14
Views
6K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 3 ·
Replies
3
Views
6K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
2
Views
2K