Question: Script in Matlab 20) a) Write a script for the birthday problem and run it. Make sure you get the correct probabilities, which you can
Script in Matlab 20) a) Write a script for the birthday problem and run it. Make sure you get the correct probabilities, which you can "Google" to find. b) Modify the code so that it finds when there are at least two matches, i.e., either at least three people have the same birthday, or there are at least two distinct matches. c) MoNify the code so that it finds when at least three people have the same birthday. Check this for n- 30, 40, .., 100
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
