Is This How to Calculate the Probability of Getting r Heads in n Coin Tosses?

  • Thread starter Thread starter Ryoukomaru
  • Start date Start date
  • Tags Tags
    Probability
AI Thread Summary
The discussion centers on calculating the probability of getting r heads in n tosses of an unbiased coin, which follows a binomial distribution. The correct expression for this probability is P(X=r) = (n choose r) * (1/2)^r * (1/2)^(n-r), simplifying to P(X=r) = (n choose r) * (1/2)^n. Participants clarify the correct exponent for the probability terms and share tips for using LaTeX for mathematical expressions. There is a lighthearted exchange about the learning curve of LaTeX formatting. The conversation emphasizes the importance of correctly applying binomial probability formulas.
Ryoukomaru
Messages
55
Reaction score
0
An unbiased coin is tossed n times and X is the number of heads obtained. Write down an expression for the probability that X=r.

It looks so simple yet I can't figure it out.
Does it follow a binomial distribution ?

Then if
<br /> X~N (n,p)

It follows
<br /> P(X=r) = \left(<br /> \begin{array}{cc}<br /> n\\<br /> r<br /> \end{array}<br /> \right)<br /> \cdot p^r \cdot q^{n-1}
where q=1-p

But p=q=1/2<br />
So the answer is
<br /> P(X=r) = \left(<br /> \begin{array}{cc}<br /> n\\<br /> r<br /> \end{array}<br /> \right)<br /> \frac{1}{2}^{r+n-1}

Am I right ?

P.S. First time using latex. It sure took long. :-p
 
Physics news on Phys.org
when u raise the fraction by a certain power, u have to distribute the power to both the numerator and denominator
 
Ryoukomaru said:
<br /> P(X=r) = \left(<br /> \begin{array}{cc}<br /> n\\<br /> r<br /> \end{array}<br /> \right)<br /> \cdot p^r \cdot q^{n-1}
where q=1-p
Almost. q should be raised to the (n-r)th power.

P.S. First time using latex. It sure took long. :-p
You'll get used to it. And it looks so pretty. :biggrin:

By the way, you don't need to use array's for displaying n \choose r. LateX has a special command for it. Just type {n \choose r}. You can even omit the brackets.
 
Ahh right, thanks for the correction. Silly me.

Gallieo: Thx for the tip. :)
I got to read through the list of latex commands but i am so busy right now, i don't have time for it.
 
Thread 'Variable mass system : water sprayed into a moving container'
Starting with the mass considerations #m(t)# is mass of water #M_{c}# mass of container and #M(t)# mass of total system $$M(t) = M_{C} + m(t)$$ $$\Rightarrow \frac{dM(t)}{dt} = \frac{dm(t)}{dt}$$ $$P_i = Mv + u \, dm$$ $$P_f = (M + dm)(v + dv)$$ $$\Delta P = M \, dv + (v - u) \, dm$$ $$F = \frac{dP}{dt} = M \frac{dv}{dt} + (v - u) \frac{dm}{dt}$$ $$F = u \frac{dm}{dt} = \rho A u^2$$ from conservation of momentum , the cannon recoils with the same force which it applies. $$\quad \frac{dm}{dt}...
Back
Top