Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

probability of winning an election

1 Ansicht (letzte 30 Tage)
Phakiso Mason
Phakiso Mason am 15 Sep. 2020
Geschlossen: Adam Danz am 15 Sep. 2020
you are the only sane voter in a state with candidates running for senate. there are n other people in the state and each one votes completely randomly. all voters act independently and are equally likely to vote for either candidate (i.e., they choose their vote by a coin flip). what are the odds that your vote changes the outcome of the election? specifically, how do these odds scale with the number of people in the state? you can keep your "state" population small... the answer should be apparent by 100,000. what is a simple function (i.e., b/n²) that describes the odds, where b is a constant? can you find any special meaning for b? use matlab scripts
  2 Kommentare
Adam Danz
Adam Danz am 15 Sep. 2020
Clearly a homework question.
If you need help with Matlab, this forum is the place to be. Feel free to re-open your question with a specific matlab-related question.
Interesting topic, by the way!
James Tursa
James Tursa am 15 Sep. 2020
What have you done so far? What specific problems are you having with your code? What is your specific MATLAB question?

Antworten (0)

Produkte


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by