How-To: Guess the number of M&Ms in a jar


Here's how to guess the number of M&Ms in a jar using its "packing fraction" - it gets exciting around the 3:30 mark...


Recent Entries

Comments

Oldest comments listed first.

Posted by: Simon Kokosza on July 28, 2009 at 11:50 AM

How much of an effect would random close pack have on this method?

Hello, I just watched this video and it was pretty interesting. I would like to add some questions to this. Does this take into account random close pack? If so how would you know if this was not randomly close packed? What if while this jar was being filled and shaken while filling? That would produce some different results.

http://en.wikipedia.org/wiki/Random_close_pack


Posted by: Anon on July 28, 2009 at 2:14 PM

Check the paper

I believe that's discussed in the paper (but I don't have access as I'm home for the summer). Basically you just end up with a different packing fractions (that can all be measured experimentally).

http://www.sciencemag.org/cgi/content/abstract/303/5660/990


Posted by: Bradley Monakhos on July 28, 2009 at 4:15 PM

Improving the Density of Jammed Disordered Packings Using Ellipsoids

@Simon Kokosza

This is actually brought up in the article mentioned in Phillip Torrone's video above, "Improving the Density of Jammed Disordered Packings Using Ellipsoids" (see reference 1)

Many experimental and computational algorithms
produce a relatively robust packing fraction
(relative density) = 0.64 for randomly
packed monodisperse spheres as they proceed to
their limiting density (8). This number, widely
designated as the random close packing (RCP)
density, is not universal but generally depends
on the packing protocol (9). RCP is an ill-defined
concept because higher packing fractions
are obtained as the system becomes ordered, and
a definition for randomness has been lacking. A
more recent concept is that of the maximally
random jammed (MRJ) state, corresponding to
the least ordered among all jammed packings
(9). For a variety of order metrics, it appears that
the MRJ state has a density of 0.637 and is
consistent with what has traditionally been
thought of as RCP (10). Henceforth, we refer to
this random form of packing as the MRJ state.


We report on the density of the MRJ state
of ellipsoid packings as asphericity is introduced.
For both oblate and prolate spheroids,
 and Z (the average number of touching
neighbors per particle) increase rapidly, in a
cusp-like manner, as the particles deviate
from perfect spheres. Both reach high densities
such as 0.71, and general ellipsoids
pack randomly to a remarkable 0.735,
approaching the density of the crystal with
the highest possible density for spheres
(11) = pi/rad.18 = 0.7405. The rapid increases
are unrelated to any observable increase
in order in these systems that develop
neither crystalline (periodic) nor liquid crystalline
(nematic or orientational) order.


--------
Ref. 1
Donev, A., Cisse, I., Sachs, D., Variano, E.A., Stillinger, F.H., Connelly, R., Torquato, S., Chaikin. P.M. (2004). Improving the Density of Jammed Disordered Packings Using Ellipsoids. Science, Vol. 303. no. 5660, pp. 990 - 993
http://www.sciencemag.org/cgi/content/full/303/5660/990
http://onesci.com


Posted by: Charles on July 28, 2009 at 8:04 PM

I think you can apply the law of large number in this case and take the midpoint of the packing fraction range and use that as the value to calculate the number of m&m's in the jar. After all it's an estimate.


Posted by: David Baker on July 28, 2009 at 8:52 PM

I watched this video and understand what he is saying, but hoped to end up with an equation that would help me win the M&Ms. Can someone put together that equation for me?


Posted by: smokeythebear on July 29, 2009 at 2:42 AM

I think this should be right

In order to calculate how much M&M's would be needed to fill up the entire jar, you would take the "volume of the jar"/"volume of one m&m"

This value would give you how many m&m's it would take to fill the jar completely, that's excluding the spaces of air in between the m&m's. This is where the packing fraction comes in. It pretty much says how much of the total volume of the jar is taken up my only the m&m's. In this case, from the paper, it was 66.5%. This means that 33.5% is made up of air in between the m&m's.

So your final equation to figure out the number of m&m's is:

(VOLjar/VOLmm)*PackingFraction

Remember that the packing fraction is different types of candies. IE, peanut mm's will have a different packing fraction from regular ones.


Posted by: Otto on July 29, 2009 at 2:06 PM

Yeah, that works perfectly... Until somebody opens the thing up and finds a partially inflated balloon in the middle of the M&Ms.


Leave a comment


Subscribe to MAKE!Subscribe to MAKE Magazine!

Subscribe today, save 42% and get web access to MAKE free. MAKE Digital Edition is available only to subscribers.

$34.95 / 1 year
(4 Quarterly Issues)

Subscribe now


Void your warranty, violate a user agreement, fry a circuit, blow a fuse, poke an eye out. Make: The risk-takers, the doers, the makers of things... Welcome to Make: Online!


CRAFT Maker Shed Maker Faire MAKE television




Check out more videos from MAKE.

Maker SHED

Connect with MAKE

Be a MAKE fan on Facebook MAKE on Facebook
Visit our Facebook page and become a fan of MAKE!
MAKE on Twitter MAKE on Twitter
Follow our MAKE tweets!
MAKE Flickr Pool MAKE on Flickr
Join our MAKE Flickr Pool!
    make_tips on Twitter



    MAKE Archives

    Make: Money

    Make: Science Room
    Subscribe to MAKE Magazine!

    Make: Online editors and authors!

    Gareth BranwynGareth Branwyn
    Editor-in-Chief


    Phillip TorronePhillip Torrone
    Senior Editor
    | Web | Twitter


    Becky SternBecky Stern
    Associate Editor
    | AIM | Twitter


    Marc de VinckMarc de Vinck
    Contributing Writer
    | AIM | Twitter


    John ParkJohn Park
    Contributing Writer
    | Twitter


    Sean RaganSean Ragan
    Contributing Writer
    | Twitter


    Matt MetsMatt Mets
    Contributing Writer
    | AIM | Twitter


    Dale DoughertyDale Dougherty
    Editor & Publisher
    | Twitter


    Shawn ConnallyShawn Connally
    Managing Editor
    | Twitter


    Goli MohammadiGoli Mohammadi
    Associate Managing Editor

    Kip KayKip Kay
    Weekend Projects
    | AIM | Twitter


    Collin CunninghamCollin Cunningham
    Contributing Writer
    | AIM | Twitter

    Adam FlahertyAdam Flaherty
    Contributing Writer
    | AIM | Twitter


    John BaichtalJohn Baichtal
    Contributing Writer
    | AIM | Twitter



    More contributors: Mark Frauenfelder (Editor-in-Chief, MAKE magazine), Kipp Bradford (Technical Consultant/Writer), Chris Connors (Education), Diana Eng (Guest Author), Peter Horvath (Intern), Brian Jepson (O'Reilly Media), Robert Bruce Thompson (Science Room)

    Suggest a Site!

    Advertise here with FM.

    Why advertise on MAKE?
    Read what folks are saying about us!

    Click here to advertise on MAKE!



    Current Podcast

    itunesdl.gif Behind the Scenes at MAKE and CRAFT In January, many of the remote MAKE/CRAFT team members (myself included) convened at the Maker Media headquarters at O'Reilly Media in Sebastopol, California. Take a look behind the scenes of your favorite DIY publications as Goli Mohammadi gives us... More...

    Get the Make: Online sent via email
    Enter your email to receive Make: Online each day:



    Sign up for the Make: Newsletter

    Our Make: Newsletter covers news from maker Media, has original columns, Shed deals, and more! You can also read the archives of past issues.


     



    MAKE Fascination video series brought to you by Dow

    Make: Education
    MAKE: en EspaƱol MAKE: Japan
    Important please read


    Subscribe to MAKE Magazine!

    Recent Posts from the Craft: Blog