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 18:00
Plz determine whether the polynomial is a difference of squares and if it is, factor it. y2 – 196 is a difference of squares: (y + 14)2 is a difference of squares: (y – 14)2 is a difference of squares: (y + 14)(y – 14) is not a difference of squares
Answers: 1
question
Mathematics, 21.06.2019 18:30
Which of the following is the true for f(x) = 5cos
Answers: 2
question
Mathematics, 21.06.2019 20:30
Suppose you just purchased a digital music player and have put 8 tracks on it. after listening to them you decide that you like 4 of the songs. with the random feature on your player, each of the 8 songs is played once in random order. find the probability that among the first two songs played (a) you like both of them. would this be unusual? (b) you like neither of them. (c) you like exactly one of them. (d) redo () if a song can be replayed before all 8 songs are played.
Answers: 2
question
Mathematics, 21.06.2019 23:20
This graph shows which inequality? a ≤ –3 a > –3 a ≥ –3 a < –3
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
Social Studies, 03.09.2020 09:01
question
Mathematics, 03.09.2020 09:01
question
English, 03.09.2020 09:01
question
English, 03.09.2020 09:01
question
Social Studies, 03.09.2020 09:01
question
Mathematics, 03.09.2020 09:01
question
English, 03.09.2020 09:01
question
Health, 03.09.2020 09:01
Questions on the website: 13722367