实验二:随机模拟掷骰子 骰子呈正方体,有 6 面,点数分别是 1、2、3、4、5、6,如果骰子是质地均匀的,那么掷骰子掷出每一个点数的机会分之一。 请模拟掷骰子这种随机行为,描述这种结果得到的过程。 要求一: (1)设计算法(语言描述即可); (2)编写程序(不限制计算机语言); (3)画出表格或图形并配以文字来说明 “六分之一”这个概率值得到的情况。 提示:可利用 MATLAB函数rand产生在(0,1)区间内均匀分布的伪随机数的功能。 要求二: (1)以word文档形式电子版交该次作业,并输出打印一份纸制版交给老师。 (2)作业写明组员的班级、、姓名、作业题目。每组只需上交一份。 PS :每班分五组,每组4-6人,可自行分配; 三个组做实验一;二个组做实验二,可自行分配。 上交作业时间:2017年9月27日,