Quiz on Slope (3)
Loading the math board and drawing, please wait…
In collections
Introduction to Linear Functions and Graphs
This example demonstrates a randomized quiz on calculating slopes. It involves core mathematical concepts such as slope calculation, vectors, and logical reasoning. The construction utilizes GeoGebra commands like Sequence, Element, Line, If, GCD, along with objects like list1, A, B, run, list2, L, buttonNext, rise, m, correct, marks, buttonCheck, p, q, gcd, dx, dy, listSlope, box, button0, buttonLang, lang, textMarks, textNo, textYes, textSlope. It is suitable for high school mathematics education, aiding in the understanding and practice of slope concepts.
GeoGebra Commands & Parameters
Sequence(i, i, 1, 10) → list1Element(list1, Random[1, Length[list1]]) → runSequence(i, i, -10, 10) → list2Line(A, B) → LElement(list2, Random[1, Length[list2]]) → riseIf(x(B) > x(A), y(B) - y(A), y(A) - y(B)) → pIf(x(B) > x(A), x(B) - x(A), x(A) - x(B)) → qGCD(q, p) → gcdSequence(If[x(B) > x(A), Polygon[A + ((i - 1) * (dx, dy)), A + ((i * dx), ((i - 1) * dy)), A + (i * (dx, dy))], Polygon[B + ((i - 1) * (dx, dy)), B + ((i * dx), ((i - 1) * dy)), B + (i * (dx, dy))]], i, 1, gcd) → listSlopeIf(lang ≟ 1, "不正確", "Incorrect") → textNoIf(lang ≟ 1, "正確!!", "Correct!!") → textYes
AI Drawing Prompt Reference
Draw a random line segment AB, and calculate its slope by adjusting the coordinates of points A and B. Then generate a series of shapes related to the slope. First, randomly select 10 integers as the x and y coordinates of points A and B, calculate the numerator and denominator of the slope, find the greatest common divisor of the numerator and denominator, and finally generate a series of shapes related to the slope based on the greatest common divisor.
The prompt above was compiled from the original drawing commands and is for reference only.