Question: Write a function roll _ 2 _ dice which generates a simulation with a seed of 3 0 0 0 of two dice, take sum

Write a function roll_2_dice which generates a simulation with a seed of 3000 of two dice, take sum of them, and return sum in a row vector .
Inputs: 1,3000
Output: d, which is 1*1 vector

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!