Anonymous asked in Education & ReferenceHomework Help · 1 month ago

How can you find a needle in a haystack in a most efficient way. With the concept of chemical analysis like sampling. ?

What is the best sample size? Any creative method will do. Thank you.

6 Answers

  • 4 weeks ago

    Infra-Red(IR), Mass Spectroscopy (Mass Spec) and Nuclear Magnetic Resonanance (nmr) are all highly sensitive techniques, requiring only a few molecules  to be seen.  In practice milligrams (mg) is quite sufficient. 

  • 1 month ago

    statistically there is no way that is more efficient than others, if we assume that the needle is equally likely to be anywhere in the haystack.  Thus "sample size" is meaningless.

    If however there is a lack of "symmetry" somewhere in the problem space then changing sample size might have an impact on performance of your search algorithm.  For example, smaller samples means if you get lucky and find early, you have searched a smaller amount of the stack, whereas larger samples means if you find late then you have had less overhead in dealing with multiple samples.

  • 1 month ago

    HOW about with a huge electromagnet put on it turned on with enough power to lift 2 million tons then pull the magnet up and see what sticks... Hay will not be attracted to a magnet... hence... just metal and the needle would be there... EASY...

  • 1 month ago

    Sample size has to be 100% (or until you find the needle). I would use a giant conveyor belt underneath a powerful magnet.

  • How do you think about the answers? You can sign in to vote the answer.
  • John P
    Lv 7
    1 month ago

    Assuming that the needle is magnetic, you could start looking for magnetic anomalies.

  • Orla
    Lv 6
    1 month ago

    Just jump on top and get comfortable. The needle will find your butt soon enough.

Still have questions? Get your answers by asking now.