cups

size of jars

number of cups

number of jars

jars

cups

m = 0 (slider from 0 to 8, step 1)
h = 2.5 (slider from 0 to 5, step 0.5)
n = 0 (slider from 0 to 12, step 1)
A = (30, 0)
delta = 4 (slider from -5 to 5, step 0.1)
list1 = Sequence(Polygon[A + ((i - 1) * (0, 4)), A + (360, (4 * (i - 1))), A + (360, (4 * i)), A + (0, (4 * i))], i, 1, n)
min = 1 (slider from -5 to 5, step 0.1)
step = 1 (slider from -5 to 5, step 0.1)
A': (-480, 0)
list4 = Sequence(Polygon[A' + ((i - 1) * (0, (4 * h))), A' + (360, ((4 * h) * (i - 1))), A' + (360, ((4 * h) * i)), A' + (0, ((4 * h) * i))], i, 1, m)
list5 = Sequence(Segment[(-500, (h * delta) + ((h * delta) * i)), (-480, (h * delta) + ((h * delta) * i))], i, 0, m - 1)
list6 = Sequence(Text[1 + i, (-550, (h * delta) - 0.3 + ((h * delta) * i))], i, 0, m - 1)
list2 = Sequence(Segment[(20, 4 + (delta * i)), (40, 4 + (delta * i))], i, 0, n - 1)
list3 = Sequence(Text[min + (step * i), (-40, 3.8 + (delta * i))], i, 0, n - 1)
i = Segment((30, 0), (390, 0))
f = Segment((-480, 0), (-120, 0))
B = (-1740, 68)
C = (-690, 68)
D = (-690, 20)
E = (-1740, 20)
poly1, b, c, d, e = Polygon(B, C, D, E)

Tool: Whole
Whole[ <Point> ]
Input: A
Output: poly1, a, b, c, d

B: (x(A) + 360, y(A))
C: (x(A) + 360, y(A) + 4)
D: (x(A), y(A) + 4)
poly1, a, b, c, d = Polygon(A, B, C, D)

Tool: Half
Half[ <Point> ]
Input: A
Output: poly1, a, b, c, d

B: (x(A) + 180, y(A))
C: (x(A) + 180, y(A) + 4)
D: (x(A), y(A) + 4)
poly1, a, b, c, d = Polygon(A, B, C, D)

Tool: Third
Third[ <Point> ]
Input: A
Output: poly1, a, b, c, d

B: (x(A) + 120, y(A))
C: (x(A) + 120, y(A) + 4)
D: (x(A), y(A) + 4)
poly1, a, b, c, d = Polygon(A, B, C, D)

Tool: Fourth
Fourth[ <Point> ]
Input: A
Output: poly1, a, b, c, d

B: (x(A) + 90, y(A))
C: (x(A) + 90, y(A) + 4)
D: (x(A), y(A) + 4)
poly1, a, b, c, d = Polygon(A, B, C, D)

Tool: Fifth
Fifth[ <Point> ]
Input: A
Output: poly1, a, b, c, d

B: (x(A) + 72, y(A))
C: (x(A) + 72, y(A) + 4)
D: (x(A), y(A) + 4)
poly1, a, b, c, d = Polygon(A, B, C, D)

Tool: Sixth
Sixth[ <Point> ]
Input: A
Output: poly1, a, b, c, d

B: (x(A) + 60, y(A))
C: (x(A) + 60, y(A) + 4)
D: (x(A), y(A) + 4)
poly1, a, b, c, d = Polygon(A, B, C, D)

Tool: Eighth
Eighth[ <Point> ]
Input: A
Output: poly1, a, b, c, d

B: (x(A) + 45, y(A))
C: (x(A) + 45, y(A) + 4)
D: (x(A), y(A) + 4)
poly1, a, b, c, d = Polygon(A, B, C, D)

Tool: Ninth
Ninth[ <Point> ]
Input: A
Output: poly1, a, b, c, d

B: (x(A) + 40, y(A))
C: (x(A) + 40, y(A) + 4)
D: (x(A), y(A) + 4)
poly1, a, b, c, d = Polygon(A, B, C, D)