Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

RE: X-treme P-ondering

by Dominus (Parson)
on Nov 13, 2000 at 21:32 UTC ( #41356=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $n = shift || 8;
    my $p = shift || .25;
    ...
      return 1 if $r == 0 || $r == $n;
      return choose($n-1,$r-1) * $n / $r;
    }
    
  2. or download this
     0 0.1001       (0.8999)
     1 0.2670       (0.6329)
    ...
     7 0.0004       (0.0000)
     8 0.0000       (0.0000)
    Expected: 2
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://41356]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2014-09-30 20:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (384 votes), past polls