Using R-studio
2. Consider an experiment where we flip a fair coin sixtimes in a row, and i is the number of heads tossed:
           a.        Calculate theprobability mass function for i = 0. . . 6 using the equation fromRoss section 2.8 for Binomial Random Variables
           b.        Conduct asimulation of this experiment in R, with T trials of the experiment– pick several values of T from 10 to 10,000.
           c.        Create a plot ofthe theoretical result vs. your simulation at T = 100 and T =10,000. Show that they converge as T increases.