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
Please answer the questions. Thank you!
aliya0001 [1]
The perimeter would be 16 ft. The area would be 16 ft as well.
3 0
3 years ago
The manager of a snack bar buys bottled water in packs of 35 and candy bars in packs of 20. Then, she sells the items individual
hoa [83]

Answer:

8 packs of bottled water and 14 packs of candy bars

Step-by-step explanation:

Provided,

Each pack of water bottles = 35 bottles

Each pack of candy = 20 candy

Since quantity of candy in each pack is small than quantity of water bottle in each pack, in order to have same quantity in numbers of both bottles and candies,

Purchase quantity of candy packs shall be more than the pack of water bottles.

Further, with this option 1 and 2 are not valid as candy packs are same or less than packs of water bottle.

In option 3 and 4, option 3 have smaller quantities as provided manager bought the least possible quantity.

Accordingly

Option 3

8 packs of water bottle = 8 \times 35 = 280 \ water\ bottles

14 packs of candy = 14 \times 20 = 280 \ candies

Since the quantities of water bottles and candies are same this is an opt answer.

6 0
3 years ago
Read 2 more answers
Is 5, 6 and 17, 19 proportional?
MakcuM [25]
No 5,6,and 17 19 are not
3 0
3 years ago
Please help me 4t−t+2
podryga [215]

Answer:

The answer is 3t + 2

Step-by-step explanation:

Subtract t from 4t.

hoped this helped!

brainly, please?

3 0
2 years ago
How is this solved?<br><img src="https://tex.z-dn.net/?f=%20f%7Bx%7D%20%3D%20%5Cfrac%7B2x%20%2B%201%7D%7Bx%20%2B%201%3F%7D%20" i
bekas [8.4K]
\bf f(x)=\cfrac{2x+1}{x+1}\implies \stackrel{f(x)}{0.3}=\cfrac{2x+1}{x+1}\implies 0.3(x+1)=2x+1&#10;\\\\\\&#10;0.3x+0.3=2x+1\implies 0.3x-2x=1-0.3\implies 0.3x-2x=0.7&#10;\\\\\\&#10;-1.7x=0.7\implies x=\cfrac{0.7}{-1.7}\implies x\approx -0.41176470588235294
7 0
3 years ago
Other questions:
  • Gerry has two different part-time jobs, and he had work 20 hours per week at each job. He earns $8 per hour at one job. Which ex
    10·1 answer
  • millie has a box of 1 hundresds cubes she also has a bag of 70 cubes how many trains of 10 cubes can she make
    5·1 answer
  • Evaluate -3x3 - 4x <br><br> for x = -1. <br><br> 7<br> -1<br> 1<br><br> PLSSSS HURRRY
    5·1 answer
  • the graph of F(x), shown below, has the same shape as the graph of G(x)=x^2. but it is shifted up 4 units and to the right 2 uni
    15·1 answer
  • Please answer worksheet 50 points!! And I’ll mark brainliest
    14·1 answer
  • Which of the following angle relationships can you use to prove that two lines are parallel?
    10·1 answer
  • Jerry's basketball team makes 40 baskets for a total of 92 points in a basketball game. some of the baskets are worth 2 points,
    7·1 answer
  • Solve and check: x + 10 + 4x + 90 = 180
    7·1 answer
  • Please help now it’s important
    8·2 answers
  • Write 44 as a product of primes using index notation
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!