Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Frogger Math [modified]

Frogger Math [modified]

Scheduled Pinned Locked Moved The Lounge
question
44 Posts 26 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Richard Blythe

    Frogger sits twenty feet from a wall. He has just eaten two (slow roasted) flies. ;P Now he sees another fly at the base of the wall! On his first jump, he has the energy to jump half the distance to the wall. (ten feet) :doh: All subsequent jumping power is also cut in half. :(( Question: How many jumps will it take for Frogger to reach the wall? (This is a DISTANCE question, not a "eat the fly" question)

    The mind is like a parachute. It doesn’t work unless it’s open.

    modified on Tuesday, July 20, 2010 11:33 AM

    L Offline
    L Offline
    Luc Pattyn
    wrote on last edited by
    #6

    42 :)

    Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

    Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.

    R 1 Reply Last reply
    0
    • L Luc Pattyn

      42 :)

      Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

      Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.

      R Offline
      R Offline
      Robert Rohde
      wrote on last edited by
      #7

      Well thats a long tongue :laugh:

      S 1 Reply Last reply
      0
      • R Richard Blythe

        Frogger sits twenty feet from a wall. He has just eaten two (slow roasted) flies. ;P Now he sees another fly at the base of the wall! On his first jump, he has the energy to jump half the distance to the wall. (ten feet) :doh: All subsequent jumping power is also cut in half. :(( Question: How many jumps will it take for Frogger to reach the wall? (This is a DISTANCE question, not a "eat the fly" question)

        The mind is like a parachute. It doesn’t work unless it’s open.

        modified on Tuesday, July 20, 2010 11:33 AM

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #8

        None. I think he is already near to wall at tongue distance.

        Ravi S Coding is my birth-right and bugs are part of feature my code has! _________________________________________ Me  Facebook  Twitter

        1 Reply Last reply
        0
        • R Richard Blythe

          Frogger sits twenty feet from a wall. He has just eaten two (slow roasted) flies. ;P Now he sees another fly at the base of the wall! On his first jump, he has the energy to jump half the distance to the wall. (ten feet) :doh: All subsequent jumping power is also cut in half. :(( Question: How many jumps will it take for Frogger to reach the wall? (This is a DISTANCE question, not a "eat the fly" question)

          The mind is like a parachute. It doesn’t work unless it’s open.

          modified on Tuesday, July 20, 2010 11:33 AM

          S Offline
          S Offline
          Single Step Debugger
          wrote on last edited by
          #9

          What’s Frogger? A male frog, a man who breeding frogs or someone who is sexually attracted from frogs?

          The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word. Advertise here – minimum three posts per day are guaranteed.

          R 1 Reply Last reply
          0
          • D Dalek Dave

            Until he is a tongue length away?

            ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave

            T Offline
            T Offline
            TheyCallMeMrJames
            wrote on last edited by
            #10

            And the fly!? Does the fly not anticipate certain doom?! Someone needs to warn the fly! Shoe fly, shoe!

            They Call me Mister James

            D R 2 Replies Last reply
            0
            • S Single Step Debugger

              What’s Frogger? A male frog, a man who breeding frogs or someone who is sexually attracted from frogs?

              The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word. Advertise here – minimum three posts per day are guaranteed.

              R Offline
              R Offline
              Richard Blythe
              wrote on last edited by
              #11

              You've never played Frogger?!! I thought everyone grew up playing Frogger. No wonder your warped. http://en.wikipedia.org/wiki/Frogger[^]

              The mind is like a parachute. It doesn’t work unless it’s open.

              S 1 Reply Last reply
              0
              • T TheyCallMeMrJames

                And the fly!? Does the fly not anticipate certain doom?! Someone needs to warn the fly! Shoe fly, shoe!

                They Call me Mister James

                D Offline
                D Offline
                Dalek Dave
                wrote on last edited by
                #12

                I never saw a shoe fly. I saw a house fly, I saw a horse fly, but I just gone seen about ev'ry ting when I see some footwear fly!

                ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave

                L H 2 Replies Last reply
                0
                • T TheyCallMeMrJames

                  And the fly!? Does the fly not anticipate certain doom?! Someone needs to warn the fly! Shoe fly, shoe!

                  They Call me Mister James

                  R Offline
                  R Offline
                  Richard Blythe
                  wrote on last edited by
                  #13

                  TheyCallMeMrJames wrote:

                  Shoe fly, shoe!

                  I think that's pronounced: "Shoo"! Please don't get an ambition to write a spell checker!! :laugh:

                  The mind is like a parachute. It doesn’t work unless it’s open.

                  D 1 Reply Last reply
                  0
                  • R Richard Blythe

                    TheyCallMeMrJames wrote:

                    Shoe fly, shoe!

                    I think that's pronounced: "Shoo"! Please don't get an ambition to write a spell checker!! :laugh:

                    The mind is like a parachute. It doesn’t work unless it’s open.

                    D Offline
                    D Offline
                    Dalek Dave
                    wrote on last edited by
                    #14

                    You mean it is spelt shoo?

                    ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave

                    R 1 Reply Last reply
                    0
                    • R Richard Blythe

                      Frogger sits twenty feet from a wall. He has just eaten two (slow roasted) flies. ;P Now he sees another fly at the base of the wall! On his first jump, he has the energy to jump half the distance to the wall. (ten feet) :doh: All subsequent jumping power is also cut in half. :(( Question: How many jumps will it take for Frogger to reach the wall? (This is a DISTANCE question, not a "eat the fly" question)

                      The mind is like a parachute. It doesn’t work unless it’s open.

                      modified on Tuesday, July 20, 2010 11:33 AM

                      S Offline
                      S Offline
                      Simon_Whale
                      wrote on last edited by
                      #15

                      because I'm bored I'd go with 6

                      As barmey as a sack of badgers

                      1 Reply Last reply
                      0
                      • R Richard Blythe

                        Frogger sits twenty feet from a wall. He has just eaten two (slow roasted) flies. ;P Now he sees another fly at the base of the wall! On his first jump, he has the energy to jump half the distance to the wall. (ten feet) :doh: All subsequent jumping power is also cut in half. :(( Question: How many jumps will it take for Frogger to reach the wall? (This is a DISTANCE question, not a "eat the fly" question)

                        The mind is like a parachute. It doesn’t work unless it’s open.

                        modified on Tuesday, July 20, 2010 11:33 AM

                        S Offline
                        S Offline
                        Steven J Jowett
                        wrote on last edited by
                        #16

                        Frogger is an infinate number of jumps from the wall, because, given enough decimal places, any positive finate number divided by 2 will always produce a value greater that zero.

                        Steve Jowett ------------------------- Real Programmers don't need comments -- the code is obvious.

                        R M C 3 Replies Last reply
                        0
                        • D Dalek Dave

                          You mean it is spelt shoo?

                          ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave

                          R Offline
                          R Offline
                          Richard Blythe
                          wrote on last edited by
                          #17

                          Allways remmber to spel your wordds write. :-D

                          The mind is like a parachute. It doesn’t work unless it’s open.

                          T 1 Reply Last reply
                          0
                          • S Steven J Jowett

                            Frogger is an infinate number of jumps from the wall, because, given enough decimal places, any positive finate number divided by 2 will always produce a value greater that zero.

                            Steve Jowett ------------------------- Real Programmers don't need comments -- the code is obvious.

                            R Offline
                            R Offline
                            Richard Blythe
                            wrote on last edited by
                            #18

                            Right on my man! It's amazing how many people don't get it. This was a question that I dug out of an old college math book. (Your hired!) :)

                            The mind is like a parachute. It doesn’t work unless it’s open.

                            E T C 3 Replies Last reply
                            0
                            • S Steven J Jowett

                              Frogger is an infinate number of jumps from the wall, because, given enough decimal places, any positive finate number divided by 2 will always produce a value greater that zero.

                              Steve Jowett ------------------------- Real Programmers don't need comments -- the code is obvious.

                              M Offline
                              M Offline
                              Media2r
                              wrote on last edited by
                              #19

                              Absolutely. It's the age-old scenario: A gorgeous woman of limited attire is placed dead centre of a room. In one corner is the worlds best mathematician, in the other the worlds best physisist. A man announces the rules, "You will take turns approaching the woman. For each turn you get to move half the distance between you and the woman.". The mathematician promptly leaves, stating "with those rules I'll never get there!". The physisist stayes. When asked why he stays after hearing the mathematicians argument, he states "I'll sure as hell get close enough to make an approximate experiment!". //L

                              1 Reply Last reply
                              0
                              • D Dalek Dave

                                I never saw a shoe fly. I saw a house fly, I saw a horse fly, but I just gone seen about ev'ry ting when I see some footwear fly!

                                ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave

                                L Offline
                                L Offline
                                Lost User
                                wrote on last edited by
                                #20

                                Dalek Dave wrote:

                                but I just gone seen about ev'ry ting when I see some footwear fly!

                                You mean the wife has never heaved a shoe at you? Not once? C'mon, we won't tell. :-D

                                L u n a t i c F r i n g e

                                L 1 Reply Last reply
                                0
                                • L Lost User

                                  Dalek Dave wrote:

                                  but I just gone seen about ev'ry ting when I see some footwear fly!

                                  You mean the wife has never heaved a shoe at you? Not once? C'mon, we won't tell. :-D

                                  L u n a t i c F r i n g e

                                  L Offline
                                  L Offline
                                  Lost User
                                  wrote on last edited by
                                  #21

                                  I will!

                                  Join the cool kids - Come fold with us[^]

                                  1 Reply Last reply
                                  0
                                  • R Richard Blythe

                                    Frogger sits twenty feet from a wall. He has just eaten two (slow roasted) flies. ;P Now he sees another fly at the base of the wall! On his first jump, he has the energy to jump half the distance to the wall. (ten feet) :doh: All subsequent jumping power is also cut in half. :(( Question: How many jumps will it take for Frogger to reach the wall? (This is a DISTANCE question, not a "eat the fly" question)

                                    The mind is like a parachute. It doesn’t work unless it’s open.

                                    modified on Tuesday, July 20, 2010 11:33 AM

                                    B Offline
                                    B Offline
                                    Bassam Abdul Baki
                                    wrote on last edited by
                                    #22

                                    If his mouth extends over his feet, he'll get there eventually. If his mouth is over or behind his feet, he'll never get there. The same goes with his tongue. Also, since the fly is three dimensional, the forgger will reach it eventually.  If it's just a shadow of a fly, no amount of jumping will help.

                                    1 Reply Last reply
                                    0
                                    • R Richard Blythe

                                      Frogger sits twenty feet from a wall. He has just eaten two (slow roasted) flies. ;P Now he sees another fly at the base of the wall! On his first jump, he has the energy to jump half the distance to the wall. (ten feet) :doh: All subsequent jumping power is also cut in half. :(( Question: How many jumps will it take for Frogger to reach the wall? (This is a DISTANCE question, not a "eat the fly" question)

                                      The mind is like a parachute. It doesn’t work unless it’s open.

                                      modified on Tuesday, July 20, 2010 11:33 AM

                                      D Offline
                                      D Offline
                                      David Crow
                                      wrote on last edited by
                                      #23

                                      Richard Blythe wrote:

                                      Question: How many jumps will it take for Frogger to reach the wall?

                                      He'll never get there.

                                      "One man's wage rise is another man's price increase." - Harold Wilson

                                      "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

                                      "Man who follows car will be exhausted." - Confucius

                                      L 1 Reply Last reply
                                      0
                                      • R Richard Blythe

                                        Right on my man! It's amazing how many people don't get it. This was a question that I dug out of an old college math book. (Your hired!) :)

                                        The mind is like a parachute. It doesn’t work unless it’s open.

                                        E Offline
                                        E Offline
                                        Ennis Ray Lynch Jr
                                        wrote on last edited by
                                        #24

                                        Or they just realized that an infinite series or harmonic series question is Calculus 101 and is borderline pedestrian and no fun to bother with. However, considering the question involved frogs you have to consider that a Frog has a minimum non-zero jumping distance or are we in a perfect, frictionless vacuum with a frog who occupies a point in space and not a volume?

                                        Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. I also do Android Programming as I find it a refreshing break from the MS. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost

                                        1 Reply Last reply
                                        0
                                        • D Dalek Dave

                                          I never saw a shoe fly. I saw a house fly, I saw a horse fly, but I just gone seen about ev'ry ting when I see some footwear fly!

                                          ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave

                                          H Offline
                                          H Offline
                                          hammerstein05
                                          wrote on last edited by
                                          #25

                                          Dumbo!

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups