1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Lynna [10]
3 years ago
13

Three gods A, B, and C are called, in no particular order, True, False, and Random. True always speaks truly, False always speak

s falsely, but whether Random speaks truly or falsely is a completely random matter. Your task is to determine the identities of A, B, and C by asking three yes-no questions; each question must be put to exactly one god. The gods understand English, but will answer all questions in their own language, in which the words for yes and no are da and ja, in some order. You do not know which word means which.
Mathematics
1 answer:
Doss [256]3 years ago
6 0
<span>This is a nasty problem. There's 12 possible arrangements of the 3 Gods and which of Ja or Da means "yes" (3!*2 = 6*2 = 12). The key thing here is the concept of a double inversion in logic. If you have a true value and pass it through 2 not gates, you'll still get a true value at the end. So you need to ask a question about a question in order to force a true answer from either god "True" or god "False". God "Random" simply adds a bit of annoyance. So your first question needs to determine the identity of a god that's not "Random".

   So imagine a question of the form: If I asked you X, would you have answered "Da"?

   If you're talking to "True", there are 4 possibilities.
 1. Da means "No", Ja means "Yes" and X is "No"; True would have answered X with "Da" and therefore would answer the whole question with "Ja"
 2. Da means "No", Ja means "Yes" and X is "Yes"; True would have answered X with "Ja" and therefore would answer the whole question with "Da"
 3. Da means "Yes", Ja means "No" and X is "No"; True would have answered X with "Ja" and therefore would answer the whole question with "Ja"
 4. Da means "Yes", Ja means "No" and X is "Yes"; True would have answered X with "Da" and therefore would answer the whole question with "Da"
 Key thing to notice is that no matter what the meaning of Da or Ja, the answer will always be "Ja" if X is false, and "Da" if X is true.
 Now imagine the same question being asked of False
 1. Da means "No", Ja means "Yes" and X is "No"; False would have answered X with "Ja" and therefore would answer the whole question with "Ja"
 2. Da means "No", Ja means "Yes" and X is "Yes"; False would have answered X with "Da" and therefore would answer the whole question with "Da"
 3. Da means "Yes", Ja means "No" and X is "No"; False would have answered X with "Da" and therefore would answer the whole question with "Ja"
 4. Da means "Yes", Ja means "No" and X is "Yes"; False would have answered X with "Ja" and therefore would answer the whole question with "Da"
 Notice that False will give the exact same answers as True. "Ja" if X is false, and "Da" if X is true.
 So you won't have any idea as to meaning of Ja and Da, but you will know if question "X" is truthful or not.

   First question:
 Ask A:If I asked you "Is B god Random?", would you have answered "Da"? If A is either True or False, then you know if the answer is "Da" that B might be Random, and that C is definitely NOT Random. And if the answer is "Ja", then C might be Random and that B is definitely NOT Random.
 If A is Random, then it really doesn't matter, since both B and C are NOT Random.

   Now your next question is going to be to either "B" or "C" depending upon the answer to the 1st question. You want to be asking the question of a God that is NOT random, so if you got the answer "Da", ask the next question of C and if you got the answer "Ja", ask the next question of B.

   The second question is still of the form "If I asked you X, would you have answered "Da"?" and the same exact logic applies. If you're talking to True, the answer passed through two buffers and comes out true, and if you're talking to False, it passes through two inverters and still comes out true. Second question:
 If I asked you "Are you False?", would you have answered "Da"?

   And if the answer is "Da", then the god you're speaking to is False, and if the answer is "Ja", then the god you're speaking to is "True".

   Final question:
 If I asked you "Is A god Random?", would you have answered "Da"?
 And if the answer is "Da", then A is definitely "Random" and if the answer is "Ja", then the god you haven't spoken to is definitely "Random".

   So now you know if the god you're speaking to is True or False, and you have the correct identity of Random. The 3rd god is a simple matter of elimination.</span>
You might be interested in
Solve for x.<br><br> 3x - 13 = 2<br><br> (SHOW YOUR WORK)
Eddi Din [679]

3x-13=2

move -13 to the other side

sign changes from -13 to +13

3x-13+13=2+13

3x=2+13

3x=15

divide both sides by 3 to get x by itself

3x/3=15/3

cross out 3 and 3, divide by 3 and then becomes 1*1*x=x

x=15/3

x=5

answer:

x=5

7 0
3 years ago
How much is 109 divided by 5?
butalik [34]
There's more than one way to do this problem.

Try this:  Mult. both 109 and 5 by 2, obtaining 218 and 10.

What is 218 div. by 10?  Do this in your head.
6 0
3 years ago
Urgent answer needed pls​
worty [1.4K]

Answer:

48 cm²

Step-by-step explanation:

PTRS is parallelogram with the base length= 8cm and the height as same as the height of ∆SUR.

the height = 2×24/8 = 6cm

so, the area of PTRS= 8×6 = 48 cm²

6 0
3 years ago
What would 5.36 be in a fraction<br> Please explain how you got the answer too.
garri49 [273]
So you have 5.36
that is 5 wholes and 0.36
0.36 can be written on a fraction of 36/100
simplify it to 9/25
Now you have the mixed number
5  9/25 or to write it into an improper fraction... multiply 25 * 5 then add 9, that is 134/25.

Hope this helps
7 0
3 years ago
Read 2 more answers
Mario started with a zero balance on his library account. A book he borrowed was 7 days overdue, and he was charged $0.25 per da
mixas84 [53]

Answer:

Step-by-step explanation:

If mario gains 25 cents per day and he is seven days overdue, we would do 7 days times 25 cents, the money he gains everyday, that should equal 1.75

:3 happy to help!

4 0
3 years ago
Read 2 more answers
Other questions:
  • If f(x)=4^x-8 and g(x)=5x+6 find (f+g)(x) ANSWER ASAP PLS
    13·2 answers
  • PLEASE HELP If a bottle of medicine contains 10 grams of liquid, how many 1/5 gram doses are in the bottle?
    14·1 answer
  • Can you answer 10,12,13, and 15?
    12·2 answers
  • The table shows ordered pairs of the function y = 8 - 2x.
    8·1 answer
  • Swaziland has the highest HIV prevalence in the world : 25.9% of this country’s population is infected with HIV. The ELISA test
    8·1 answer
  • 70% of 17 is what number?
    14·2 answers
  • You and your friend are selling magazine subscriptions for a fundraiser. After w weeks, you have sold (7w+6) subscriptions and y
    7·1 answer
  • Hey can someone tell me why 132 is wrong? and help me with the right answer pls
    14·1 answer
  • A rectangular prism has a volume is 98 cubic feet a, a width of 2 feet and a length of 7 feet. Find the height of the regular pr
    13·1 answer
  • Part two for: "HELP ME PLEASEEEE Using the digits 1 - 9, at most one time each, create an improper fraction and a mixed number t
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!