Discrete Math Computer Science Question

Click For Summary

Discussion Overview

The discussion revolves around a homework problem in discrete mathematics related to calculating probabilities of specific configurations in randomly generated bit strings of length 10. The problem includes three scenarios with different probabilities for the bits being 0 or 1.

Discussion Character

  • Homework-related

Main Points Raised

  • One participant calculates the probability for scenario (a) as (1/2)^7, focusing on the remaining 7 bits after fixing the first and last bits.
  • In scenario (b), the same participant proposes that the probability would be (0.7)^7, again based on the remaining choices.
  • For scenario (c), the participant presents a calculation involving the expression (1/2)(1+7)*7/2, leading to a probability of (1/2)^28.
  • Another participant questions how many bits the problem asks about and whether there are bits that are not considered in the calculations.
  • A further post reiterates the focus on the first bit being 1 and the last two bits being 00, emphasizing the remaining seven bits that can be either 0 or 1.

Areas of Agreement / Disagreement

There is no consensus on the correctness of the initial calculations, as participants are questioning the understanding of the problem and the relevance of the middle bits.

Contextual Notes

Participants express uncertainty about the interpretation of the problem statement and the specific bits involved in the probability calculations.

Noriko Kamachi
Messages
6
Reaction score
0

Homework Statement


Find the probability that a randomly generated bit string of length 10 begins with a 1 or ends with a 00 if

a)a 0 bit and a 1 bit are equally likely.
b)The probability that a bit is a 1 is .7
c)The probability that the ith bit is a 1 is 1/2i for i=1,2,3,...,10

Homework Equations

The Attempt at a Solution


[/B]
Since I know that the length is 10, and that the first and last two spots are already selected, I only have to worry about the middle 7 spots. A bit can only be 2 choices 0 or 1.

a) If the odds are the same for both, then I just calculated (1/2)7 based on the 7 remaining choices.

b) Probability here would be (.7)7 going by the same remaining choices.

c)For this I did

(1/2)(1+7)*7/2 which would equal a probability of (1/2)28.

Was my approach to this problem correct?
 
Physics news on Phys.org
How many bits does the question ask about? Are there any bits it does not ask about?
 
Tom.G said:
How many bits does the question ask about? Are there any bits it does not ask about?

A string of length 10 where the choices are either 0 or 1. The first one is labeled as 1, the last two as 00. This leaves seven choices where the selected bit can be 0 or 1.
 
Noriko Kamachi said:
Find the probability that a randomly generated bit string of length 10 begins with a 1 or ends with a 00
What part of this problem statement asks about the seven bits in the middle?
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K