Question: Use Monte Carlo simulation techniques to design a program that estimates the probability of any two people in a room of M people having the
Use Monte Carlo simulation techniques to design a program that estimates the probability of any two people in a room of M people having the same birthday. Write a well-documented MATLAB program entitled anyBirthday.m to implement your simulation. Use the MATLAB plot function to replicate the result. Save the figure and turn in the plot with your solution. Your solution does not have to use vectorizing techniques Probability of Any Birthday The Same with Trials 1000 10000 0.9 0.8 0.7 0.6 0.5 0 0.4 0.3 0.2 0.1 10 30 50 Number of People 20 40 708090100
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
