Community Profile

photo

Enkhdul Batkhuyag


Last seen: 3 years ago Active since 2020

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


Not sure why my code results in a wrong figure. I am trying to simulate 2 dice rolls and counting how many times it takes to roll 2 6s out 10000 trials.
num_trial=10000; num_until_success=1; counter=[]; success_count=0; for i=1:num_trial success_count=0; num_until_su...

4 years ago | 1 answer | 0

1

answer