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

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 13:30, golderhadashaowtatz
Gabriel paints flower pots to sell at a craft fair. she paints 2/5 of a flower pot teal, 1/4 of it yellow, and the rest of it white. what fraction of the pot is painted either teal or yellow?
Answers: 3
image
Mathematics, 21.06.2019 19:00, SakChan8367
Ab based on the given diagram, if m_1 = 60° then m 2 = 30 60 90 180
Answers: 1
image
Mathematics, 21.06.2019 20:00, guccim5971
Suppose you are an avid reader and are looking to save money on the cost of books instead of paying about $20 for each book, you decide to look into purchasing a kindle for $120 you can purchase e-books for about $5 each 1. find the slope-intercept equation for the cost of the hard copy of books using x to represent the number of books 2. find the slope-intercept equation for the cost of the kindle with cost of e-books using x to represent the number of books
Answers: 1
image
Mathematics, 21.06.2019 20:00, faithyholcomb
Someone answer asap for ! max recorded the heights of 500 male humans. he found that the heights were normally distributed around a mean of 177 centimeters. which statements about max’s data must be true? a. the median of max’s data is 250 b. more than half of the data points max recorded were 177 centimeters. c. a data point chosen at random is as likely to be above the mean as it is to be below the mean. d. every height within three standard deviations of the mean is equally likely to be chosen if a data point is selected at random.
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 in other subjects: