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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!