Questions of Monte Carlo Simulation

1 view (last 30 days)
SS
SS on 16 Mar 2015
Hi there,
I am new to Matlab- I am working on a question and need some help. Question: There are 20 people in total, including exactly 3 women, seat themselves randomly at four tables (A, B, C, D) of 5 each. - Please use MATLAB to simulate p- the probability that no women sit at table A. Find p. - Let X be the number of tables at which no women sit. Find EX. Hint: p=P(TA)=p(17,5)/p(20,5)=91/228 EX=E(1TA+ATB+1TC+1TD)=E(1TA)+E(1TB)+E(1TC)+E(1TD)=91/57.. Assume M=100=number of trials if 'event occurs', P(TA)==1; else if 'event not occurs', P(TA)==0 EX=u Var=Var(M) StdErr=sqrt(Var(M))

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!