Fraction of Chocolate Box
Loading the math board and drawing, please wait…
In collections
Fraction Skills
This example demonstrates the fraction of chocolates left and eaten in a box. Key mathematical concepts include fractions and geometric construction. Using GeoGebra commands such as Random, Point, Vector, etc., the geometric shape of the chocolate box can be constructed, and the number of remaining and eaten chocolates can be calculated. Suitable for high-grade elementary or junior high school students to learn fractions and geometric construction.
GeoGebra Commands & Parameters
Random(4, 8) → StupciRandom(4, 6) → RetciRandom(0, Retci - 1) → PuniRetciRandom(0, Stupci) → JosPoint(Ray[A, A + (1, 0)]) → BPoint(Ray[C, C + (1, 0)]) → DVector(C, D) → uPoint(Ray[C, C + (0, 1)]) → EVector(C, E) → vIf(PuniRetci > 0, Sequence[Sequence[Translate[Bombon1, Vector[(i * u) + (j * v)]], j, 0, PuniRetci - 1], i, 0, Stupci - 1], Translate[Bombon1, Vector[(300 * u)]]) → BomboniIf(Jos > 0, Sequence[Translate[Bombon1, Vector[(i * u) + (PuniRetci * v)]], i, 0, Jos - 1], Translate[Bombon1, Vector[(300 * u)]]) → JosBombonaPolygon(A, B, 4) → Prazni1, a_1, b, c, d, F, GIf(PuniRetci + 1 < Retci, Sequence[Sequence[Polygon[Translate[A, Vector[(i * u) + (j * v)]], Translate[B, Vector[(i * u) + (j * v)]], Translate[F, Vector[(i * u) + (j * v)]], Translate[G, Vector[(i * u) + (j * v)]]], j, PuniRetci + 1, Retci - 1], i, 0, Stupci - 1], Polygon[Translate[A, Vector[(300 * u)]], Translate[B, Vector[(300 * u)]], Translate[F, Vector[(300 * u)]], Translate[G, Vector[(300 * u)]]]) → PrazniIf(Jos < Stupci, Sequence[Polygon[Translate[A, Vector[(i * u) + (PuniRetci * v)]], Translate[B, Vector[(i * u) + (PuniRetci * v)]], Translate[F, Vector[(i * u) + (PuniRetci * v)]], Translate[G, Vector[(i * u) + (PuniRetci * v)]]], i, Jos, Stupci - 1], Polygon[Translate[A, Vector[(300 * u)]], Translate[B, Vector[(300 * u)]], Translate[F, Vector[(300 * u)]], Translate[G, Vector[(300 * u)]]]) → JosPraznihDistance(A, B) → distanceABTranslate(UnutrRub3, Vector[UnutrRub2, UnutrRub1]) → UnutrRub4Translate(VanjRub3, Vector[VanjRub2, VanjRub1]) → VanjRub4Polygon(UnutrRub1, UnutrRub2, UnutrRub3, UnutrRub4) → UnutrasKutije, unutrrub1, unutrrub2, unutrrub3, unutrrub4Polygon(VanjRub1, VanjRub2, UnutrRub2, UnutrRub1) → RubKutijeDonji, vanjrub1_1, vanjrub2_1, unutrrub2_2, unutrrub1_2Dilate(UnutrRub1, 1, A) → UnutrRub1'Dilate(UnutrRub2, 1, A) → UnutrRub2'Dilate(UnutrRub3, 1, A) → UnutrRub3'Dilate(UnutrRub4, 1, A) → UnutrRub4'Polygon(UnutrRub1', UnutrRub2', UnutrRub3', UnutrRub4') → UnutrasKutije', unutrrub1', unutrrub2', unutrrub3', unutrrub4'Polygon(VanjRub1, UnutrRub1, UnutrRub4, VanjRub4) → RubKutijeLijevi, vanjrub1, unutrrub1_1, unutrrub4_1, vanjrub4Polygon(VanjRub2, VanjRub3, UnutrRub3, UnutrRub2) → RubKutijeDesni, vanjrub2, vanjrub3, unutrrub3_1, unutrrub2_1Polygon(VanjRub3, VanjRub4, UnutrRub4, UnutrRub3) → RubKutijeGornji, vanjrub3_1, vanjrub4_1, unutrrub4_2, unutrrub3_2Segment(H, I) → hSegment(J, K) → iGCD(BrojBomb, Ukupno) → ZajDjeliteljSegment(L, M) → mSegment(N, O) → n
AI Drawing Prompt Reference
Draw a top view of a chocolate box with a rectangular outer frame and an inner grid divided into rows and columns. Some cells contain chocolates (shown as circles or squares), while others are empty. The number of chocolates is random but the grid is uniform. The box has thickness, indicated by inner and outer rectangles. Below or beside the figure, display the fraction of remaining chocolates out of total cells, and the fraction eaten. The layout is clear and suitable for teaching fractions.
The prompt above was compiled from the original drawing commands and is for reference only.