Equivalent Fraction Generator
Loading the math board and drawing, please wait…
This example demonstrates how to generate equivalent fractions. It involves core mathematical concepts of fractions and rational numbers. Using GeoGebra commands such as If, Polygon, Sequence, etc., users can create fractions and generate equivalent fractions. Suitable for high-grade elementary and junior high school students.
GeoGebra Commands & Parameters
If(a, RandomElement[{2, 3, 4, 6, 8}], userDen) → SDIf(a, Random[1, SD - 1], userNum) → SNPolygon((0, 0), (1, 0), (1, 1), (0, 1)) → fractionBox, f, g, h, iSequence(Segment[(0, ii / den), (1, ii / den)], ii, 1, den - 1) → partitionsSequence(Point[{1 / 2, ii / den}], ii, 0, den) → dotsPoint(dots) → shaderPolygon((0, 0), (0, y(shader)), (1, y(shader)), (1, 0)) → shading, j, k, l, mTableText({right, wrong}, "_1 |1 vc") → text2Textfield(userNum) → InputBox1Textfield(userDen) → InputBox2Segment(A, B) → nIf(a, true, IsInteger[userNum] ∧ IsInteger[userDen] ∧ userNum > 0 ∧ userDen > 0 ∧ userNum < userDen) → works
AI Drawing Prompt Reference
Draw a square divided into parts by horizontal lines, with points on each part connected by line segments to form a shaded area. Include two text boxes for inputting a numerator and denominator, and display a fraction representation based on the input, checking if the input is valid.
The prompt above was compiled from the original drawing commands and is for reference only.