Use simulationpreferrably Matlab to find an approximate valu
Use simulation(preferrably Matlab) to find an approximate value for the probability that, in a class of
 50, exactly four students have the same birthday and the other 46 students all have
 different birthdays. Assume that the birth rates are constant throughout the year
 and that each year has 365 days.
Solution
probability of having birthday same day = 1/365
for 4 students having birthday same day = (1/365)^4
probability of 46 students having different birthday = 46/365
so the probability of 4 students having same bithday and 46 different will be = (1/365)^4*(46/365)^46 = 0.001

