subject
Mathematics, 28.05.2020 02:57 angrybirdsryver

Twenty-sided. When it comes to games of chance that utilize die, not all rely on the 6-sided version we are most familiar with. In fact, for games such as Dungeons and Dragons, 20-sided die are used. The mean, x, of a discrete random variable can be computed by x = X[infinity] i=0 xi · p(xi) (1) where x is the set of values that the random variable can take and p(xi) is the probability of the ith element of x. For a 20-sided die, x = {1, 2, ..., 19, 20} and p(xi) = 1/20. Given this information, write a MATLAB script called twentysided. m that computes the mean value of rolling two 20-sided die (and adding the result). Compute the mean by rolling two 20-sided die 50 times. Once computed, display the answer to the command window with the message ’The mean of two 20-sided die is: x’. You can assume that both rolls are independent of one another. In addition, create a MATLAB movie plot in the same script which shows the convergence of the experimental mean to the actual mean you calculated above. Just like the movies, you can create a plot, pause for a moment, and then update the plot again to give the effect of a moving picture show. This is done by creating a loop that updates the plot and pauses a brief moment before iterating again. In order to accomplish the movie you will need to

ansver
Answers: 1

Another question on Mathematics

question
Mathematics, 21.06.2019 20:30
I’m on question 7 it says a covered water tank is in the shape of a cylinder the tank has a 28 inch diameter and a height of 66 inches to the nearest square inch what is the surface area of the water tank
Answers: 2
question
Mathematics, 21.06.2019 20:30
If a 36 inch yardstick casts a 21 foot shadow, how tall is a building whose shadow is 168 feet? what is the scale factor
Answers: 1
question
Mathematics, 21.06.2019 21:00
Abakery recorded the number of muffins and bagels it sold for a seven day period. for the data presented, what does the value of 51 summarize? a) mean of bagels b) mean of muffins c) range of bagels d) range of muffins sample # 1 2 3 4 5 6 7 muffins 61 20 32 58 62 61 56 bagels 34 45 43 42 46 72 75
Answers: 2
question
Mathematics, 21.06.2019 23:50
What is the scale factor of two similar pyramids with volumes of 64 cubic feet and 8 cubic feet
Answers: 1
You know the right answer?
Twenty-sided. When it comes to games of chance that utilize die, not all rely on the 6-sided version...
Questions
question
History, 28.10.2021 03:20
question
Computers and Technology, 28.10.2021 03:20
question
Mathematics, 28.10.2021 03:20
Questions on the website: 13722363