I’ve been trying to come with some mathematical formula to determine how many candies ARE in the jar. I’ve came up with one but there are two problems with it and I was wondering if you guys could help me out with those:
Here’s my formula:
Let x represent the total volume the candies altogether occupy in the jar
Let y represent the total volume of air spaces between candies in the jar
Let v represent the total volume of the jar
Let d represent the density of the candies
Let m represent the mass of the jar (glass not included)
So from here I created an algebraic system:
x+y=v (The volume of the candies plus the volume of air in the jar is going to equal the volume of the jar)
dx+0.00128y=m (The mass of the candies inside can be determined by density times volume. The mass of air inside can be determined the same way except the density of air is 0.00128 g/mL. There fore the mass of air inside is 0.00128y. So the mass of the candies inside plus the mass of the air inside will equal the mass of the jar (excluding the glass).
Now d, v, and m must be predetermined.
I’m actually going to the lab to find out the density for all the different candies.
The problem is with v and m. Because v is going to have to be known and there are so many types of jars that I don’t know how I would determine the volume of those jars.
m is going to be calculated by knowing the packing efficiency, how much of the volume is actually occupied by candies and not air. Once I know the packing efficiency, I can average out the densities. Suppose the packing efficiency is 70% (meaning only 70% of the jar’s volume is occupied by candies, and 30% is air). You can do 0.7d+0.3(0.00128). Suppose I know the density of the candies (which I will) and it is 1.5 g/mL. I can do 0.7(1.5)+0.3(0.00128)=1.050384. So the average density inside the jar is 1.050384. Now we know that volume times density equals mass. So if we know what v equals, than we can multiply that by 1.050384 and find the mass. So that would give me m.
d is easy to figure out. I’m going to go to the lab and measure every candy (I have all the candies).
But I don’t know how to figure out v. How should I go about calculating the volume of the jar because jars are irregular objects and I’m not going to be able to use water displacement for that.
And for m, I’m going to need to know the packing efficiency. So if I know what the packing efficiency and volume is, then I it’s easy from there. But that’s the problem. How do I figure those two things out?
Once this system works, I can just divide x by the volume of one candy which I will have pre-measured anyways. So the purpose is to find x.
By the way I’m a freshman in high school taking math classes accelerated by two years (Geometry B/Algebra 2B).