SOLUTION: 1. In Angel’s Garden, there is a 3% chance that a tomato will be bad. Angel harvests 100 tomatoes and wants to know the probability that at most five tomatoes are bad. 2. Co

Algebra.Com
Question 1199262: 1. In Angel’s Garden, there is a 3% chance that a tomato will be bad. Angel harvests 100
tomatoes and wants to know the probability that at most five tomatoes are bad.
2. Consider a rather nonstandard dice. Instead of the numbers 1 through 6, die A has two 3’s,
two 5’s, and two 7’s; die B has two2’s, two 4’s, and two 9’s; and die C has two 1’s, two 6’s,
and two 8’s, as in the figure below
Suppose dice A and B are rolled. If A is more likely to get the higher number. That is, P(A >
B) > 0.50, where {A > B} denotes the event that A beats B. Hint: Condition on the outcome of
die A.
Now, if B and C are rolled, B is more likely to get the higher number. And, remarkably, if C
and A are rolled, C is more likely to get the higher number. These dice are known as nontransitive dice and are the basis of a magic trick. You pick any die. Then anyone can always
pick a die that is more likely to beat yours. If you pick A, he picks C. If you pick B, he picks
A. And if you pick C, he picks B. Your task is to write an R code that will simulate this nontransitive dice elaborated above.
HINT: Define three functions that will represent the three dices as samples representing the
three configurations given in the figure above (A, B and C), then replicate the experiment
several times (100, or 1000 times) by calling the functions with the conditions given above.

Answer by ikleyn(52778)   (Show Source): You can put this solution on YOUR website!
.

Thank you for posting us the description of this curious phenomenon.


But it this forum we do not write computer codes in response to the visitors requests.


It is NEITHER a profile NOR a focus NOR a goal and NOR a subject of this forum.


                To learn what is the subject of this forum,
                    read attentively from the front page.


So, it was your mistake to post this request to this forum.

Try to find another web-site / forum for your request.


//////////////////


                    In the future,    pack more than one problem per post - - -

        - - - if you are not an enemy to yourself  (which I assume,  by default)

        - - - and if you want your requests be considered seriously  (which I also assume,  by default).



RELATED QUESTIONS

This is a word problem involving linear programming. The problem is:You have 180... (answered by stanbon)
You have 140 tomatoes and 13 onions left over from your garden. You want to use these to... (answered by Fombitz)
In a community garden, the ratio of tomato plants to pepper plants is 1:3, and the ratio... (answered by ikleyn)
You have 180 tomatoes and 15 onions left over from your garden. You want to use these to (answered by mathmate)
An engineer working for a large agribusiness has developed two types of soil additives he (answered by textot)
Frank buys fencing for a rectangular garden he has in his backyard. The length of the... (answered by Boreal)
The probability that a radish seed will germinate is 0.7. The gardener plants 140 seeds... (answered by Alan3354)
In January of 2017, you planted a rare variety of tomato. In 2 month time, you recorded... (answered by CPhill)
If there is 500 kgs tomato in one box and 50 kgs tomato in another box and both are... (answered by ikleyn)
I am doing a homework problem: farmers often sell fruits and vegetables at roadside... (answered by stanbon)