math probability problem, help?
Favorite Answer
there are for an n digit binary number there is a total of 2^(n-1) numbers. for example, n = 4 are the binary numbers 1000 to 1111, 8 to 15 in decimal at total of 8 numbers or 2^3 = 2^(4-1).
further the first 1 is static for a n digit binary number so only (n-1) digits will change.
as a result you really on have to look at combinations of getting r 1’s or 0’s in n-1 options.
The number of zeros in an n digit binary number has a probability of 0 for having n 0’s, i.e., P(k = n | n) = 0, where k is the number of zeros in an n digit binary number.
in general P(k = r | n) = ( (n-1)!/( r! * (n -r)!) ) / (2^(n-1)
is the defined for r = 0, 1, 2, 3, …. , n-1.
to get P(k > r | n) = 2^(1-n) * Σ( (n-1)! / (i! * (n-i)! )) for i = r to n – 1.
you can verify this is a probability mass function by seeing that summing over i = 0 to n-1 will result in the pmf summing ot 1.
for P( r1 < k < r1 | n) = the same sum but with the index going from r1 to r2. I would be more than happy to provide a more detailed derivation and write this out by hand and scan it for you if this is to difficult to read.
- Academic Writing
- Accounting
- Anthropology
- Article
- Blog
- Business
- Career
- Case Study
- Critical Thinking
- Culture
- Dissertation
- Education
- Education Questions
- Essay Tips
- Essay Writing
- Finance
- Free Essay Samples
- Free Essay Templates
- Free Essay Topics
- Health
- History
- Human Resources
- Law
- Literature
- Management
- Marketing
- Nursing
- other
- Politics
- Problem Solving
- Psychology
- Report
- Research Paper
- Review Writing
- Social Issues
- Speech Writing
- Term Paper
- Thesis Writing
- Writing Styles