Statistics
2 Questions
0 Answers
RANK
153,793
of 301,529
REPUTATION
0
CONTRIBUTIONS
2 Questions
0 Answers
ANSWER ACCEPTANCE
50.0%
VOTES RECEIVED
0
RANK
of 21,315
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 175,175
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Discussions
AVERAGE NO. OF LIKES
Feeds
Question
I need help with the final touches. Two people are playing a match(AandB). A has a 70% change of winning any given game. What is the chance that A will win the match if you have to be up by 3 games to win the match? (first to win by 3 games)
Here is what I have so far. They play first one to be winning by 3 games. A 3 shows that player A won and a -3 showns that p...
6 years ago | 0 answers | 0
0
answersQuestion
How do I get my code to run multiple times? My code looks as follows. My code shows X = 3 when A wins and X = -3 when B wins. I would like to get this code to run multiple times and see how many times A wins out of 10 or so matches.
X = 0; while (abs(X) < 3); if(rand < 0.7) X = X + 1; disp('A'); else X = X - 1; disp('B'); end end X
6 years ago | 1 answer | 0
