Question: Write matlab script for two rolling dice to computes the numbers that appear on the top face of dice. Case(1). If both dice fair and

Write matlab script for two rolling dice to computes the numbers that appear on the top face of dice.

Case(1).

If both dice fair and plot outcome on bar diagram between sum of rolls vs frequency.

Case(2).

Repeat case(1) for N= 10, 50, 100, 100

Case(3).

If one of dice is unfair with p is not equal to 1/6 and number of rolls be any numbers greater than 1.

Case(4).

If both dice are unfair, both not necessarily weighted to same dice, any number of rolls

Please write script individually for each cases.

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!