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. Annoying IQ Test

Annoying IQ Test

Scheduled Pinned Locked Moved The Lounge
question
42 Posts 17 Posters 0 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.
  • L leppie

    2795 :) f(x) = round(-179.9813978 + 307.4704136*x + -167.4867127*x*x + 44.99822836*x*x*x)

    IronScheme
    ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

    CPalliniC Offline
    CPalliniC Offline
    CPallini
    wrote on last edited by
    #14

    50000000 :) algo:

    switch(in)
    {
    case 1:
    return 5;
    case 2:
    return 125;
    case 3:
    return 450;
    case 4:
    return 1250;
    default:
    return 50000000;
    }

    :laugh:

    If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
    This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
    [My articles]

    In testa che avete, signor di Ceprano?

    1 Reply Last reply
    0
    • L leppie

      2795 :) f(x) = round(-179.9813978 + 307.4704136*x + -167.4867127*x*x + 44.99822836*x*x*x)

      IronScheme
      ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

      G Offline
      G Offline
      Gary Wheeler
      wrote on last edited by
      #15

      Wolfram Alpha, anyone? Or is Mathematica your bitch?

      Software Zen: delete this;

      L 1 Reply Last reply
      0
      • D Dalek Dave

        Because that is reserved for larger values of Pi.

        ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

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

        My current guess would be 5^x = 3125

        I'm invincible, I can't be vinced

        1 Reply Last reply
        0
        • G Gary Wheeler

          Wolfram Alpha, anyone? Or is Mathematica your bitch?

          Software Zen: delete this;

          L Offline
          L Offline
          leppie
          wrote on last edited by
          #17

          Gary Wheeler wrote:

          Wolfram Alpha, anyone? Or is Mathematica your bitch?

          Neither. Used http://creativemachines.cornell.edu/eureqa[^] :) Trying to find an 'integer' solution though. But 4 points is a little too little to infer a pattern :(

          IronScheme
          ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

          1 Reply Last reply
          0
          • L leppie

            I went brute force ;p See my latest answer.

            IronScheme
            ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

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

            Do me one favor: Please try out the factors of 1, 5, 3.6 and 2 I got for X = 1, 2, 3 ,4 in this math software. What factor would be for x = 5?

            I'm invincible, I can't be vinced

            L 1 Reply Last reply
            0
            • L Lost User

              Do me one favor: Please try out the factors of 1, 5, 3.6 and 2 I got for X = 1, 2, 3 ,4 in this math software. What factor would be for x = 5?

              I'm invincible, I can't be vinced

              L Offline
              L Offline
              leppie
              wrote on last edited by
              #19

              Not quite sure how to input that into the software :(

              IronScheme
              ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

              L 1 Reply Last reply
              0
              • L leppie

                Not quite sure how to input that into the software :(

                IronScheme
                ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

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

                input the points (1,1), (2,5), (3, 3.6) and (4, 2). I would like to know the value for (5, ?). I guessed that value to be 1 and then f(5) would be 3125. If your program can extrapolate a more precise value, we will se how good your brute force result and mine match.

                I'm invincible, I can't be vinced

                1 Reply Last reply
                0
                • U unknowndentified10111

                  Someone ask me this IQ Test and I got really annoyed when I found out the answer. Here it is: If 1 = 5, and 2 = 125, and 3 = 450, and 4 = 1250, then 5 = ?

                  R Offline
                  R Offline
                  Ravi Sant
                  wrote on last edited by
                  #21

                  13750

                  // ♫ 99 little bugs in the code, // 99 bugs in the code // We fix a bug, compile it again // 101 little bugs in the code ♫

                  1 Reply Last reply
                  0
                  • U unknowndentified10111

                    Someone ask me this IQ Test and I got really annoyed when I found out the answer. Here it is: If 1 = 5, and 2 = 125, and 3 = 450, and 4 = 1250, then 5 = ?

                    N Offline
                    N Offline
                    NormDroid
                    wrote on last edited by
                    #22

                    4500

                    Software Kinetics Wear a hard hat it's under construction
                    Metro RSS

                    1 Reply Last reply
                    0
                    • U unknowndentified10111

                      Someone ask me this IQ Test and I got really annoyed when I found out the answer. Here it is: If 1 = 5, and 2 = 125, and 3 = 450, and 4 = 1250, then 5 = ?

                      V Offline
                      V Offline
                      V 0
                      wrote on last edited by
                      #23

                      42

                      V.

                      1 Reply Last reply
                      0
                      • U unknowndentified10111

                        Someone ask me this IQ Test and I got really annoyed when I found out the answer. Here it is: If 1 = 5, and 2 = 125, and 3 = 450, and 4 = 1250, then 5 = ?

                        H Offline
                        H Offline
                        hairy_hats
                        wrote on last edited by
                        #24

                        4050

                        1 Reply Last reply
                        0
                        • U unknowndentified10111

                          Someone ask me this IQ Test and I got really annoyed when I found out the answer. Here it is: If 1 = 5, and 2 = 125, and 3 = 450, and 4 = 1250, then 5 = ?

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

                          As is often the case, there are an infinite number of correct answers. Examples: the cubic polynomial yields: 5 => 2785 one of the infinite number of fourth order polynomials yields: 5 => -1155 :)

                          Luc Pattyn [My Articles] Nil Volentibus Arduum


                          Fed up by FireFox memory leaks I switched to Opera and now CP doesn't perform its paste magic, so links will not be offered. Sorry.

                          L 1 Reply Last reply
                          0
                          • L Luc Pattyn

                            As is often the case, there are an infinite number of correct answers. Examples: the cubic polynomial yields: 5 => 2785 one of the infinite number of fourth order polynomials yields: 5 => -1155 :)

                            Luc Pattyn [My Articles] Nil Volentibus Arduum


                            Fed up by FireFox memory leaks I switched to Opera and now CP doesn't perform its paste magic, so links will not be offered. Sorry.

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

                            Except that IQ tests don't usually require curve fitting software. There is a pattern here - that's the IQ bit. At the moment mine is 75.

                            Peter Wasser

                            L 2 Replies Last reply
                            0
                            • L Lost User

                              Except that IQ tests don't usually require curve fitting software. There is a pattern here - that's the IQ bit. At the moment mine is 75.

                              Peter Wasser

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

                              pwasser wrote:

                              mine is 75

                              You're half asleep then? :)

                              Luc Pattyn [My Articles] Nil Volentibus Arduum


                              Fed up by FireFox memory leaks I switched to Opera and now CP doesn't perform its paste magic, so links will not be offered. Sorry.

                              L 1 Reply Last reply
                              0
                              • L Luc Pattyn

                                pwasser wrote:

                                mine is 75

                                You're half asleep then? :)

                                Luc Pattyn [My Articles] Nil Volentibus Arduum


                                Fed up by FireFox memory leaks I switched to Opera and now CP doesn't perform its paste magic, so links will not be offered. Sorry.

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

                                Luc Pattyn wrote:

                                You're half asleep then?

                                Yes that's my excuse.

                                Peter Wasser

                                1 Reply Last reply
                                0
                                • L Lost User

                                  Except that IQ tests don't usually require curve fitting software. There is a pattern here - that's the IQ bit. At the moment mine is 75.

                                  Peter Wasser

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

                                  pwasser wrote:

                                  don't usually require curve fitting

                                  then it is 990 :)

                                  Luc Pattyn [My Articles] Nil Volentibus Arduum


                                  Fed up by FireFox memory leaks I switched to Opera and now CP doesn't perform its paste magic, so links will not be offered. Sorry.

                                  1 Reply Last reply
                                  0
                                  • U unknowndentified10111

                                    Someone ask me this IQ Test and I got really annoyed when I found out the answer. Here it is: If 1 = 5, and 2 = 125, and 3 = 450, and 4 = 1250, then 5 = ?

                                    W Offline
                                    W Offline
                                    W Balboos GHB
                                    wrote on last edited by
                                    #30

                                    "1" was the logical answer, but, as it wasn't confirmed, I tried to examine this as a what's-next-in-series type of question. This just didn't make it, and, as it was presented as part of an IQ test, brute force methods are (should be) excluded. So I googled "1=5 2=25" and came up with: http://www.google.com/support/forum/p/blogger/thread?tid=2570697c07e3c6e3&hl=en[^] The poster of the question (a level seven whatever it is) congratulated other posters on their correct answer: 1 So why, exactly, were you annoyed?

                                    "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                                    "As far as we know, our computer has never had an undetected error." - Weisert

                                    "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

                                    L D 2 Replies Last reply
                                    0
                                    • W W Balboos GHB

                                      "1" was the logical answer, but, as it wasn't confirmed, I tried to examine this as a what's-next-in-series type of question. This just didn't make it, and, as it was presented as part of an IQ test, brute force methods are (should be) excluded. So I googled "1=5 2=25" and came up with: http://www.google.com/support/forum/p/blogger/thread?tid=2570697c07e3c6e3&hl=en[^] The poster of the question (a level seven whatever it is) congratulated other posters on their correct answer: 1 So why, exactly, were you annoyed?

                                      "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                                      "As far as we know, our computer has never had an undetected error." - Weisert

                                      "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

                                      L Offline
                                      L Offline
                                      leppie
                                      wrote on last edited by
                                      #31

                                      W∴ Balboos wrote:

                                      So I googled "1=5 2=25"

                                      You googled wrong :(

                                      IronScheme
                                      ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

                                      W 1 Reply Last reply
                                      0
                                      • L leppie

                                        W∴ Balboos wrote:

                                        So I googled "1=5 2=25"

                                        You googled wrong :(

                                        IronScheme
                                        ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

                                        W Offline
                                        W Offline
                                        W Balboos GHB
                                        wrote on last edited by
                                        #32

                                        leppie wrote:

                                        You googled wrong

                                        We clearly disagree on the attack strategy expected by the poser of the question (we never actually saw the original preposition). The IQ-test reference is the closest we have to determining expectations. I invoke Occam's razor .

                                        "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                                        "As far as we know, our computer has never had an undetected error." - Weisert

                                        "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

                                        L 2 Replies Last reply
                                        0
                                        • W W Balboos GHB

                                          leppie wrote:

                                          You googled wrong

                                          We clearly disagree on the attack strategy expected by the poser of the question (we never actually saw the original preposition). The IQ-test reference is the closest we have to determining expectations. I invoke Occam's razor .

                                          "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                                          "As far as we know, our computer has never had an undetected error." - Weisert

                                          "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

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

                                          W∴ Balboos wrote:

                                          we never actually saw the original preposition

                                          If 1 is the correct answer which it could well be then this is not an IQ test.

                                          Peter Wasser

                                          L W 2 Replies 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