QR4-02-CYU4 (Sketching stretches of parabolas)

QR4-02-CYU4 (Sketching stretches of parabolas)
Loading the math board and drawing, please wait…
2018-12-06 11:07
① This interactive example demonstrates how to sketch vertical or horizontal stretches of parabolas by adjusting the quadratic function's parameters, with immediate feedback on correctness. ② Core math concepts include quadratic functions, vertex form, stretching transformations (effect of coefficient on opening direction and width), and the relationship between algebraic expressions and graphs. ③ Construction details: from the summary, the example uses Polygon to create answer regions, PointIn to detect clicks, Element and FitPoly to generate and verify polynomial equations, and LaTeX for displaying formulas; objects include questionList, points A1-A5, auxiliary objects D1-D5, and control buttons like Initialize and TryAnother, enabling dynamic question generation and instant scoring. ④ Suitable for high school students learning transformations of quadratic functions, and useful for classroom demonstrations or self-paced practice to reinforce understanding of how parameters affect parabola shape.

GeoGebra Commands & Parameters

  1. Polygon({(-11, -21), (-11, 21), (11, 21), (11, -21)}) → viewBox
  2. PointIn(viewBox) → C
  3. PointIn(viewBox) → A
  4. PointIn(viewBox) → B
  5. PointIn(viewBox) → E
  6. PointIn(viewBox) → D
  7. Element(questionList, questionListIndex) → questionNum
  8. LaTeX(UnicodeToLetter[10007]) → xmark
  9. LaTeX(UnicodeToLetter[10003]) → cmark
  10. Element(P2:P11, questionNum) → correctPoints
  11. Element(D2:D11, questionNum) → functionText
  12. LaTeX((("\vphantom{\left(\tfrac{1}{2}\right)}" * functionText) * "")) → displayEquation
  13. LaTeX((((("\text{" * QUESTION) * "\\") * INSTRUCTIONS) * "}")) → TEXT
  14. FitPoly(startingPoints, 2) → fPoly
  15. FitPoly(correctPoints, 2) → gPolyDotted
  16. FitPoly(usersPoints, 2) → gPolySolid
  17. Element(A2:A11, questionNum) → a
  18. Element(B2:B11, questionNum) → h
  19. Element(C2:C11, questionNum) → k

AI Drawing Prompt Reference

Create an interactive graphing interface for practicing vertical and horizontal stretches of parabolas. The main area is a rectangular coordinate plane. Five clickable points are randomly placed inside this rectangle. A question is displayed at the top, showing a quadratic function in vertex form with a specific stretch factor. The user must click on five points to sketch the parabola. The system then fits a quadratic curve through the clicked points and compares it to the correct curve, which is shown as a dotted line. A checkmark appears if the sketch is correct, otherwise a cross. Buttons for 'Initialize' and 'Try Another' are provided to reset or generate a new question.
The prompt above was compiled from the original drawing commands and is for reference only.