R Programming language Simulation of:
4. Each member of a group of n players rolls a die.
(a) For any pair of players who throw the same number, the group scores 1 point.
Find the mean and variance of the total score of the group.
(b) Find the mean and variance of the total score if any pair of players who throws the same number scores that number.
5. Every package of some intrinsically dull commodity includes a small and exciting plastic object. There are k different types of object, and each package is equally likely to contain any given type. You buy one package each day.
(a) Find the mean number of days which elapse between the acquisitions of the new type of object and the (n + 1)th new type.
(b) Find the mean number of days which elapse before you have a full set of k objects.
Comments
Leave a comment