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 19:30
Your food costs are $5,500. your total food sales are $11,000. what percent of your food sales do the food costs represent?
Answers: 2
question
Mathematics, 21.06.2019 22:30
Adistribution has the five-number summary shown below. what is the third quartile, q3, of this distribution? 22, 34, 41, 55, 62
Answers: 2
question
Mathematics, 22.06.2019 00:00
Plz hurry finals a paper cup in the shape of an inverted cone is 8 inches tall and has a radius of 1.5 inches. how much water can the cup hold? use 3.14 for pi. round the answer to the nearest tenth. a) 12.6 cubic in. b) 18.8 cubic in. c) 37.7 cubic in. d) 56.5 cubic in.
Answers: 2
question
Mathematics, 22.06.2019 00:00
The probability that a tutor will see 0, 1, 2, 3, or 4 students is given below determine the probability distribution's missing value.
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
English, 19.02.2021 14:00
question
Mathematics, 19.02.2021 14:00
Questions on the website: 13722363