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
Get step-by-step solutions from verified subject matter experts
