home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / mag&info / dupinunv.zip / DUPINUNV.ASC < prev    next >
Text File  |  1992-09-22  |  3KB  |  57 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.      Here is another little math tool. This one solves the
  7. mathematical problem of the probability of a duplication in a
  8. universe.
  9.      It can be used to solve the "Birthday Problem"; that is,
  10. in a group of K people what is the probability there will be
  11. at least two people with the same birthday. As uses here
  12. birthday means the same month and day; the year is ignored.
  13. Ignoring leap year, which has a negligible effect on the odds
  14. for any practical case, letting N = 365 will give the
  15. probability of at least one duplication in a group of any
  16. size greater than 1 and less than or equal to N.
  17.      It is interesting to note that for a group of 23 people
  18. the probability is about 0.5 .  That is there is about an
  19. even change there will be at least one duplication.  For a
  20. group of 40 people the probability is about 0.97 which is
  21. almost a certainty. You can probably win a few beers using
  22. this knowledge. It is also interesting that like CHI Square
  23. the distribution need not be Gaussian. This makes the results
  24. more general.
  25.  
  26.     I hope this program proves useful. It is entered as
  27. FREEWARE for non-commercial use, donations however will be
  28. gratefully accepted.  It may be used and distributed subject
  29. to the following considerations:
  30.  
  31.      There is no warranties as to merchantability of fitness
  32. for any use. The user agrees by accepting the program to hold
  33. the undersigned harmless for any damages whatsoever including
  34. but not limited to consequential damages that may arise from
  35. the use of, attempted use of, or inability to use this
  36. program.  It is the sole responsibility of the user to
  37. determine the value, if any, of the program.  If distributed,
  38. only the zip file may be distributed not the individual
  39. components. The program may not be Reverse Engineered, dis-
  40. assembled, or modified in any way without the expressed prior
  41. permission of the undersigned nor may it be made a part of
  42. any package for which a charge is made.  If used in a
  43. commercial environment, it must be licensed by the
  44. undersigned. Fee is $5.00 for an unlimited single computer
  45. license.
  46.  
  47.  
  48.  
  49.  
  50.                                              Benson Ackerman
  51.  
  52.                                              404 Park Avenue
  53.  
  54.                                              Leonia NJ, 07605
  55.  
  56.  
  57.