Answer to Question #26423 in MatLAB | Mathematica | MathCAD | Maple for blue_flyers

Question #26423
The goal of this assignment is to generate the likelihood of getting three of a kind in
a single roll of 5 fair dice by developing a convergent process. This will require the writing of
both a script and a function. In the function, you should roll 5 dice 500 times. As each roll is
taken, the function should have the logic to decide if three (or more) of the dice contain the exact
same numbers. Of the 500 rolls, the function should return the number of rolls that contain three
(or more) of a kind. Your script should call your die rolling routine, gather the results, and
implement a convergent process to decide when you have achieved accuracy with your
percentages. The first line of your script should be the tolerance to which you are working. For
example, “tol = 0.01”. You should expect this number to be changed to test your
code.
1
Expert's answer
2013-03-14T11:22:33-0400
Unfortunately, your question requires a lot of work and cannot be done for free.
Submit it with all requirements as an assignment to our control panel and we'll assist you.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS