Use MATLAB
Write a script that simulates a dice throw, randomly printing to the screen (with equal probability) one of the integers from 1 to 6. Call your script DiceThrow.m
EXTRA CREDIT (100%) Write a script that simulates a loaded dice throw, randomly printing to the screen one of the integers from 1 to 6, but with 6 twice as likely as all the others. Call your script LoadedDiceThrow.m
Get Answers For Free
Most questions answered within 1 hours.