Question: The algorithm: Cast n dices, ( d 1 , dots, d n ) , and output D n = : ( i = 1 n

The algorithm:
Cast n dices, (d1,dots,dn), and output
Dn=:(i=1ndi)6
PROJECT
[Essentially, for reaching generalization of "Theory" for
coins to dices]
Given n dices with the Probabilities:
PROB(di=j)=P(i,j):,1in,0j5.
Task 1: We need an efficient (as fast as you can)
algorithm to compute
Q(n,j)=:PROB((d1+d2+dots+dn)6=j),0j5
Task 2: We want to run this algorithm for various
values of nn
of
Iask 3: Analyse how fair is Dn=:(d1+d2+dots+dn)6 :
Compute the "Fairness"
F=:j=05(Q(n,j)-16)2on
those runs. We want it to be "small".
Important Hint for the project: two indopendent
dices
d2012345
q(0)q(1)q(2)q(3)q(4)g(5)
We need to find but (6,6) matrix M sueh that
((0),r(1),r(2),r(3),r(4),r(5))=(P(0),P(1),P(2),P(3),P(4),P(5))*M
darr
(1,6)=(1,6)*(6,6)=(1,l)
The entries of matriz M1 depend on the probabilities
(g(0),q(0),g(2),g(3),g(4),g(5)) project produet
of natrices...
 The algorithm: Cast n dices, (d1,dots,dn), and output Dn=:(i=1ndi)6 PROJECT [Essentially,

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!