Question: a matlab program. 0. (10 points points) For an even dice with numbers 1, 2, 3, 4, 5, 6 on each side. We roll the

a matlab program.
0. (10 points points) For an even dice with numbers 1, 2, 3, 4, 5, 6 on each side. We roll the dice, and take the number on the top side as the outcome. Code to do the following simulation: (1) simulate the average outcome with n = 1000 rolls. (2) roll the dice n = 1000 times, calculate the probability of getting outcome 2 following outcome 1 in two consecutive rolls, that is, you get number 1 with the first roll, and get. number 2 with the 2nd roll
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
