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. trick of the day [modified]

trick of the day [modified]

Scheduled Pinned Locked Moved The Lounge
csscomquestion
54 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.
  • Z Zoltan Balazs

    I did, and since you know that one is different by the weight there is a solution.

    company, work and everything else www.netis.ro

    Q Offline
    Q Offline
    quiteSmart
    wrote on last edited by
    #33

    What if the last two didn't match? Now you can't try any more.:sigh:

    Z 1 Reply Last reply
    0
    • B benjymous

      I found a solution, through creative googling, and it's way more complex than what I think you're thinking

      Q Offline
      Q Offline
      quiteSmart
      wrote on last edited by
      #34

      benjymous wrote:

      I found a solution

      Can you give us the link...

      benjymous wrote:

      and it's way more complex than what I think you're thinking

      I know very well that it is very complex:)

      C 1 Reply Last reply
      0
      • Q quiteSmart

        I got this trick question today from a friend of mine. I am trying to solve it. i solve 50 percent of the question solved. Note if you have a lot of work don't continue reading cause it will take some time to be solved. The trick question is: You have infront of you 12 eggs. All have the same color the same shape and the same size (you can not diffrentiate between one and the other by just looking at it). 11 of those 12 eggs have the same weight and one differs (either less or more). The question is to find which one of those 12 is the different one. You have a balance and you can use it only 3 times. I will remind you in one important thing that we don't know if the one egg which is different from the others weighs more or less than any of the other 11 eggs. good luck :) if you think you got the solution send your answer to my mail address jamilabkh@gmail.com to leave some time for others to think about it don't post your answers;)

        Z Offline
        Z Offline
        Zoltan Balazs
        wrote on last edited by
        #35

        quiteSmart wrote:

        either less or more

        you're right ... i wasn't paying full atention. if we don't know how the weight difference is (less or more) this is harder :)

        company, work and everything else www.netis.ro

        Q 1 Reply Last reply
        0
        • Z Zoltan Balazs

          quiteSmart wrote:

          either less or more

          you're right ... i wasn't paying full atention. if we don't know how the weight difference is (less or more) this is harder :)

          company, work and everything else www.netis.ro

          Q Offline
          Q Offline
          quiteSmart
          wrote on last edited by
          #36

          :-:cool::cool::rose:

          S 1 Reply Last reply
          0
          • Q quiteSmart

            What if the last two didn't match? Now you can't try any more.:sigh:

            Z Offline
            Z Offline
            Zoltan Balazs
            wrote on last edited by
            #37

            Anyway you need to use one of the common eggs (one that has the same weight as the rest of the 10 eggs). And use it as a reference. After that all you have to do is to write down an algorithm with every possible situation there.

            company, work and everything else www.netis.ro

            1 Reply Last reply
            0
            • C Colin Angus Mackay

              Yes, of the last set which is the odd one out. As you don't know whether it is heavier or lighter you only have a chance of being right. In the last set if the two eggs on the balance (one on each side) are equal it is the one on the table, if the two eggs on the balance are unequal then which is it? It isn't the one on the table, but it is on on the balance - but which? It is still a 50/50 split.


              Upcoming events: * Glasgow Geek Dinner (5th March) * Glasgow: Tell us what you want to see in 2007 My: Website | Blog | Photos

              E Offline
              E Offline
              ensger
              wrote on last edited by
              #38

              :-O You are right. I knew this trick with finding out a havier one. So it's more difficult of course - sorry :-O, Gérard

              1 Reply Last reply
              0
              • C Colin Angus Mackay

                Frank Kerrigan wrote:

                nut goop

                That would be good to add to the pancake mix, some nuts, making a nut goop. You're full of excellent ideas today! :-D


                Upcoming events: * Glasgow Geek Dinner (5th March) * Glasgow: Tell us what you want to see in 2007 My: Website | Blog | Photos

                F Offline
                F Offline
                Frank Kerrigan
                wrote on last edited by
                #39

                :-D


                Blog Have I http:\\www.frankkerrigan.com

                1 Reply Last reply
                0
                • Q quiteSmart

                  :-:cool::cool::rose:

                  S Offline
                  S Offline
                  swjam
                  wrote on last edited by
                  #40

                  i got it in 5 minutes but i think i just got lucky... can this really be solved using a mathematical formula? i think i remember someone posting a x=11y+z or something like that... can i give a hint to the solution or is someone else solving? :zzz: :-D

                  I am a SysAdmin, I battle my own daemons.

                  Q 1 Reply Last reply
                  0
                  • S swjam

                    i got it in 5 minutes but i think i just got lucky... can this really be solved using a mathematical formula? i think i remember someone posting a x=11y+z or something like that... can i give a hint to the solution or is someone else solving? :zzz: :-D

                    I am a SysAdmin, I battle my own daemons.

                    Q Offline
                    Q Offline
                    quiteSmart
                    wrote on last edited by
                    #41

                    It has been 3 hours and 15 minutes since this was thread was posted so if you have an answer just post it:rose:

                    1 Reply Last reply
                    0
                    • Q quiteSmart

                      benjymous wrote:

                      I found a solution

                      Can you give us the link...

                      benjymous wrote:

                      and it's way more complex than what I think you're thinking

                      I know very well that it is very complex:)

                      C Offline
                      C Offline
                      Chris Morgan
                      wrote on last edited by
                      #42

                      There might be a complicated solution, but it also seems like there is one that is quite simple. Actually the simple solution would work for up to 18 eggs... Hint, it involves dividing the eggs into 3 groups to start with.

                      1 Reply Last reply
                      0
                      • Q quiteSmart

                        I got this trick question today from a friend of mine. I am trying to solve it. i solve 50 percent of the question solved. Note if you have a lot of work don't continue reading cause it will take some time to be solved. The trick question is: You have infront of you 12 eggs. All have the same color the same shape and the same size (you can not diffrentiate between one and the other by just looking at it). 11 of those 12 eggs have the same weight and one differs (either less or more). The question is to find which one of those 12 is the different one. You have a balance and you can use it only 3 times. I will remind you in one important thing that we don't know if the one egg which is different from the others weighs more or less than any of the other 11 eggs. good luck :) if you think you got the solution send your answer to my mail address jamilabkh@gmail.com to leave some time for others to think about it don't post your answers;)

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

                        why take the balance, drop them from a high altitude all at once, the one that falls sooner or later is the egg :-)

                        V. I found a living worth working for, but haven't found work worth living for.

                        V 1 Reply Last reply
                        0
                        • V V 0

                          why take the balance, drop them from a high altitude all at once, the one that falls sooner or later is the egg :-)

                          V. I found a living worth working for, but haven't found work worth living for.

                          V Offline
                          V Offline
                          Vikram A Punathambekar
                          wrote on last edited by
                          #44

                          Duh... that won't work. Galileo proved it way back in God-knows-which century. A 100 kg iron ball will fall at the same rate as a 1 kg ball from the same height.

                          Cheers, Vikram.


                          "Life isn't fair, and the world is full of unscrupulous characters. There are things worth fighting for, killing for and dying for, but it's a really small list. Chalk it up to experience, let it go, and move on to the next positive experience in your life." - Christopher Duncan.

                          V C 2 Replies Last reply
                          0
                          • V Vikram A Punathambekar

                            Duh... that won't work. Galileo proved it way back in God-knows-which century. A 100 kg iron ball will fall at the same rate as a 1 kg ball from the same height.

                            Cheers, Vikram.


                            "Life isn't fair, and the world is full of unscrupulous characters. There are things worth fighting for, killing for and dying for, but it's a really small list. Chalk it up to experience, let it go, and move on to the next positive experience in your life." - Christopher Duncan.

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

                            it will if you have no vacuum...

                            V.
                            Stop smoking so you can: Enjoy longer the money you save. Moviereview Archive

                            V 1 Reply Last reply
                            0
                            • V V 0

                              it will if you have no vacuum...

                              V.
                              Stop smoking so you can: Enjoy longer the money you save. Moviereview Archive

                              V Offline
                              V Offline
                              Vikram A Punathambekar
                              wrote on last edited by
                              #46

                              Unless I'm very mistaken, bodies fall at the same rate towards the Earth (or any other body) at the same rate. The ideal condition is vacuum, but if there is air/wind, it offers significant resistance; which explains why a block of wood falls faster than a feather. I still stand by what I said; I don't understand the point you're trying to make. :~

                              Cheers, Vikram.


                              "Life isn't fair, and the world is full of unscrupulous characters. There are things worth fighting for, killing for and dying for, but it's a really small list. Chalk it up to experience, let it go, and move on to the next positive experience in your life." - Christopher Duncan.

                              D V 2 Replies Last reply
                              0
                              • V Vikram A Punathambekar

                                Unless I'm very mistaken, bodies fall at the same rate towards the Earth (or any other body) at the same rate. The ideal condition is vacuum, but if there is air/wind, it offers significant resistance; which explains why a block of wood falls faster than a feather. I still stand by what I said; I don't understand the point you're trying to make. :~

                                Cheers, Vikram.


                                "Life isn't fair, and the world is full of unscrupulous characters. There are things worth fighting for, killing for and dying for, but it's a really small list. Chalk it up to experience, let it go, and move on to the next positive experience in your life." - Christopher Duncan.

                                D Offline
                                D Offline
                                Dan Neely
                                wrote on last edited by
                                #47

                                Vikram A Punathambekar wrote:

                                Unless I'm very mistaken, bodies fall at the same rate towards the Earth (or any other body) at the same rate.

                                The department of irrelevant nitpicking would like to point out that while the Earth attracts a BB and a boulder equally the boulder applies a stronger force on the Earth. As a result in a vacuum the boulder will appear to fall faster as observed by someone on the Earth's surface by an infinitesimal rate. You'd need to drop something the size of a large moon to see any visible difference. :rolleyes:

                                -- Rules of thumb should not be taken for the whole hand.

                                V 1 Reply Last reply
                                0
                                • V Vikram A Punathambekar

                                  Duh... that won't work. Galileo proved it way back in God-knows-which century. A 100 kg iron ball will fall at the same rate as a 1 kg ball from the same height.

                                  Cheers, Vikram.


                                  "Life isn't fair, and the world is full of unscrupulous characters. There are things worth fighting for, killing for and dying for, but it's a really small list. Chalk it up to experience, let it go, and move on to the next positive experience in your life." - Christopher Duncan.

                                  C Offline
                                  C Offline
                                  CastorTiu
                                  wrote on last edited by
                                  #48

                                  So you mean if I have two object with the same volume, one is a 200KG iron balloon and another inflated with helium, they will fall at the same speed with a acceleration of 9.8 m/s² towards earth?? :-D Lets give a try and drop the two from a second floor, I'll be waiting for the helium balloon to catch it and you will be waiting for the iron balloon. :laugh::) Lets make sure an ambulance is on site.

                                  -- If you think the chess rules are not fair, first beat Anand, Kasparov and Karpov then you can change them. Moral is, don't question the work of others if you don't know the reason why they did it.

                                  D 1 Reply Last reply
                                  0
                                  • Q quiteSmart

                                    I got this trick question today from a friend of mine. I am trying to solve it. i solve 50 percent of the question solved. Note if you have a lot of work don't continue reading cause it will take some time to be solved. The trick question is: You have infront of you 12 eggs. All have the same color the same shape and the same size (you can not diffrentiate between one and the other by just looking at it). 11 of those 12 eggs have the same weight and one differs (either less or more). The question is to find which one of those 12 is the different one. You have a balance and you can use it only 3 times. I will remind you in one important thing that we don't know if the one egg which is different from the others weighs more or less than any of the other 11 eggs. good luck :) if you think you got the solution send your answer to my mail address jamilabkh@gmail.com to leave some time for others to think about it don't post your answers;)

                                    C Offline
                                    C Offline
                                    CastorTiu
                                    wrote on last edited by
                                    #49

                                    Drop the eggs from the empire state building on a calm day. Measure the time that take each egg to fall. Compare the two shortest and longest times, the longest times difference will give the unique egg, if the longer difference is form the two first eggs in the list then that egg is heavier, if the longest difference comes from the longest times then that egg is the lighter.

                                    -- If you think the chess rules are not fair, first beat Anand, Kasparov and Karpov then you can change them. Moral is, don't question the work of others if you don't know the reason why they did it.

                                    C 1 Reply Last reply
                                    0
                                    • C CastorTiu

                                      So you mean if I have two object with the same volume, one is a 200KG iron balloon and another inflated with helium, they will fall at the same speed with a acceleration of 9.8 m/s² towards earth?? :-D Lets give a try and drop the two from a second floor, I'll be waiting for the helium balloon to catch it and you will be waiting for the iron balloon. :laugh::) Lets make sure an ambulance is on site.

                                      -- If you think the chess rules are not fair, first beat Anand, Kasparov and Karpov then you can change them. Moral is, don't question the work of others if you don't know the reason why they did it.

                                      D Offline
                                      D Offline
                                      Dan Neely
                                      wrote on last edited by
                                      #50

                                      In a vacuum yes. In atmosphere the HE one will fall slower since the drag force is proportional to cross sectional area. Both will feel an identical force but unless you compress 200kg of helium into the balloon it will have a lower mass and higher acceleration from drag in the direction opposite it's path.

                                      -- Rules of thumb should not be taken for the whole hand.

                                      C 1 Reply Last reply
                                      0
                                      • V Vikram A Punathambekar

                                        Unless I'm very mistaken, bodies fall at the same rate towards the Earth (or any other body) at the same rate. The ideal condition is vacuum, but if there is air/wind, it offers significant resistance; which explains why a block of wood falls faster than a feather. I still stand by what I said; I don't understand the point you're trying to make. :~

                                        Cheers, Vikram.


                                        "Life isn't fair, and the world is full of unscrupulous characters. There are things worth fighting for, killing for and dying for, but it's a really small list. Chalk it up to experience, let it go, and move on to the next positive experience in your life." - Christopher Duncan.

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

                                        you're right about your point, but it's only valid in vacuum. That's what I learned. You're entitled on your opinion.

                                        Vikram A Punathambekar wrote:

                                        I don't understand the point you're trying to make

                                        The egg thing was a joke, nothing more, nothing less, you're just making a big deal out of it.

                                        V.
                                        Stop smoking so you can: Enjoy longer the money you save. Moviereview Archive

                                        1 Reply Last reply
                                        0
                                        • D Dan Neely

                                          Vikram A Punathambekar wrote:

                                          Unless I'm very mistaken, bodies fall at the same rate towards the Earth (or any other body) at the same rate.

                                          The department of irrelevant nitpicking would like to point out that while the Earth attracts a BB and a boulder equally the boulder applies a stronger force on the Earth. As a result in a vacuum the boulder will appear to fall faster as observed by someone on the Earth's surface by an infinitesimal rate. You'd need to drop something the size of a large moon to see any visible difference. :rolleyes:

                                          -- Rules of thumb should not be taken for the whole hand.

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

                                          dan neely wrote:

                                          The department of irrelevant nitpicking

                                          :laugh: thank you so much :-)

                                          V.
                                          Stop smoking so you can: Enjoy longer the money you save. Moviereview Archive

                                          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