penny.tossing_routine (HEAD_TAIL_STRUCTURE *coin);

This is a discussion on penny.tossing_routine (HEAD_TAIL_STRUCTURE *coin); within the A Brief History of Cprogramming.com forums, part of the Community Boards category; >If you toss a penny 10,000 times it will not be heads 5000 times but more like 4950. The head ...

  1. #1
    Linguistic Engineer... doubleanti's Avatar
    Join Date
    Aug 2001
    Location
    CA
    Posts
    2,459

    penny.tossing_routine (HEAD_TAIL_STRUCTURE *coin);

    >If you toss a penny 10,000 times it will not be heads 5000 times but more like 4950. The head picture weighs more, so it ends up on the bottom.

    i would like to hear an explaination and discussion! a penny could be balanced on either face... and a slight offset would fail it, but is a head-down offset less stable than a tail-down one then?
    hasafraggin shizigishin oppashigger...

  2. #2
    Hamster without a wheel iain's Avatar
    Join Date
    Aug 2001
    Posts
    1,385
    out of 5000 tosses, it could land heads every time, or it could land tails every time.
    Monday - what a way to spend a seventh of your life

  3. #3
    Linguistic Engineer... doubleanti's Avatar
    Join Date
    Aug 2001
    Location
    CA
    Posts
    2,459
    i believe that was assumed in hypotheticals. rather, i think that he meant his data was to address the practically realized ratio as the number of flips reached infinity...
    hasafraggin shizigishin oppashigger...

  4. #4
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686
    Yes, basically it means that the chance of landing on heads is 49.5% and the chance of landing on tails is 50.5%. Its just a random fact, which of course changes from penny to penny due to manufacturing defects, but in general, the heads weighs more.
    The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.

  5. #5
    Meow Pendragon's Avatar
    Join Date
    Sep 2001
    Location
    Swindon, UK
    Posts
    724
    The difference is negligible though otherwise people wouldn't toss coins to make decisions as it would obviously be unfair.

  6. #6
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686
    Yeah, it is negligible, and other outside factors tend to mess up the results more than this minor weight difference.
    The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.

  7. #7
    Meow Pendragon's Avatar
    Join Date
    Sep 2001
    Location
    Swindon, UK
    Posts
    724
    The surfing monitor agrees... :P

    It's an interesting theory but not of any real use in society.

  8. #8
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686
    Of course its of no use, I got it from UselessFacts.net.
    The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.

  9. #9
    Meow Pendragon's Avatar
    Join Date
    Sep 2001
    Location
    Swindon, UK
    Posts
    724
    I might have guessed!!

    LOL!

  10. #10
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686
    Now that this has been solved, I must find another useless and odd fact.
    The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.

  11. #11
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,859

    May have a use after all

    In Australia we have a game called Two Up. It was played by the ANZAC's on the way to WW1. It is a tradition to gamble on ANZAC day at what is known as a Two Up School.
    Two pennies are tossed, 2 heads wins, 2 tails looses and one of each is an odd, spin again. Simple stuff.

    While working in a casino I delt Two Up. One old digger (war vet) would come and watch for a few hours and see if the coins were not 'even' (spinning more pairs of heads than pairs of tails).
    If he found a signifigant difference he would bet with a 'catch up' system.

    When he had made his $200 (or lost $50) for the day he would leave. Most days he won.

  12. #12
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    >>> In Australia we have a game called Two Up.

    Is it true that it is illegal to play Two Up on days other than Anzacs day? I was in Aus for a while and was told this at a Two Up match, (on Anzacs day 1995). Mind you, the guy that told me this had been on the beer for a while, as had everyone else.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  13. #13
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,859
    Yes. Unless you are in a casino.
    It is legal on ANZAC day if you are too far from a casino.

    In the casino we got turn of the century (1900) pennies from the gov inspector each day. Each set has 5 pennies. If they threw too many tails, the punters would toss one onto a nearby light fitting so we would have to get another set.

  14. #14
    Linguistic Engineer... doubleanti's Avatar
    Join Date
    Aug 2001
    Location
    CA
    Posts
    2,459
    regardless of the practicality of it. what i'm asking is that, given that the flips the coin endures is arbitrary [between odd/even starts/finishes], how can it be slightly more heads? given or without physics... thanks!
    hasafraggin shizigishin oppashigger...

  15. #15
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,859
    Maybe that is why the tail of the penny is painted with a cross (to even up with the heavier head). I thought it was to help show the diff when they landed.

    In my experience it is the penny bending and/or denting that cause more heads or tails.

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21