l>Summary note Example

Closed-Ended trouble Algorithm: Jelly Beans

Problem Statement: How numerous jelly beans will fit in a cylindrical seasoned 10 customs high and 8 inch in diameter?


This is a fun trouble that may prove useful in the future for winning a guessing contest.

You are watching: Average volume of a jelly bean


Re-describe the problem: What is the volume of the jar and also what is the volume of a jelly bean and also what is the packing factor (i.e., what is the volume portion of the jelly beans in the filled jar� psychic there will certainly be part empty room between the beans)?Assumptions:Assume the jelly beans room spheres. Lay out the system:



Identify:KnownsJar elevation (H= 10 inches) and jar diameter (D=8 inches).Jelly p diameter (d=0.5inches)UnknownsSolid fraction (the portion of the jug volume inhabited by beans, not consisting of the void space between the beans).Fundamentals:
Volume of the cylinder = π(D2/4)H in3
= 3.1416*((82)/4)*10
= 502.6
Volume of one jelly bean = π(D3/6) in3
= 3.1416*(0.53/6)
= 0.0654
Look up the solid fraction of spheres pack together. That is ~0.65.
Volume that Beans = (Jar Volume)*(Solid Fraction)
= 502.6*0.65
= 326.7 in3
Number the Beans = (Volume of Beans)/(Volume of One Bean)
= (326.7 in3)/(0.0654 in3 every bean)
= 4,995 bean in the jar


Check and also Recheck:Explore the effects of cylindrical beans quite than spherical beans.Check the jelly p dimensions.

If beans space cylindrical (D = 0.5in, H = 0.5in), redo the calculations.

See more: How Do You Spell Go Kart - What Is The Correct Spelling For Gokart

Volume of one jelly bean = π(D2/4)*H
= 3.1416*(0.52/4)*0.5
= 0.0982 in3
Look up the solid fraction of cylinders packed together in jar. That is ~0.67.
Volume the Beans = (Jar Volume)*(Solid Fraction)
= 502.6*0.67
= 336.7 in3
Number of Beans = (Volume of Beans)/(Volume of One Bean)
= (336.7 in3)/(0.0982 in3 every bean)
= 3429 beans in the jar
The true number of jelly bean in the jar is probably between the two figures, since the beans space not important spheres or cylinders, but this method gives united state a bracket the the true prize lies between.