Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Probability distribution pin code guessing

  1. Mar 7, 2012 #1
    1. The problem statement, all variables and given/known data
    What is the distribution of stochastic variable X = "the number of attempts needed to find the correct last digit of a pin code"


    2. Relevant equations



    3. The attempt at a solution
    I thought it was like this:
    P(X=1) = 1/10
    P(X=2) = 9/10*1/9
    P(X=3) = 9/10*8/9*1/7
    ...
    ...
    P(X=10) = 9/10*8/9*7/8*6/7*5/6*4/5*3/4*2/3*1/2*1

    Thank you!
     
  2. jcsd
  3. Mar 7, 2012 #2

    Ray Vickson

    User Avatar
    Science Advisor
    Homework Helper

    Re: Probability_distribution_pin_code_guessing

    Looks good.

    RGV
     
  4. Mar 7, 2012 #3
    Re: Probability_distribution_pin_code_guessing

    Thanks. Is it possible to capture P(X=x) in a formula?
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook