Interactive Addition and Subtraction of Mixed Numbers

Interactive Addition and Subtraction of Mixed Numbers
Loading the math board and drawing, please wait…
2020-09-18 03:29
This example demonstrates how to add and subtract mixed numbers by converting between mixed-number and improper-fraction representations and then composing the final simplified result. It focuses on key concepts: equivalence of mixed numbers and improper fractions, fraction arithmetic rules, extracting numerators and denominators, and handling both addition and subtraction cases consistently. Construction and interaction are implemented using GeoGebra commands such as Random and RandomElement to generate randomized operands, If to switch between addition/subtraction logic, Textfield for user inputs and displayed values, Numerator/Denominator to retrieve fraction components, and Segment plus FractionText to visualize the quantities and annotate the fraction results. The setup includes input controls (e.g., InputBox1/InputBox2) and a button (button1) along with multiple text objects to present intermediate and final answers. Suitable for middle-school learners studying fraction operations, classroom practice, and interactive exploratory learning.

GeoGebra Commands & Parameters

  1. Random(1, 10) → a
  2. RandomElement(l1) → d
  3. Random(1, 10) → e
  4. Random(e + 1, 12) → f
  5. If(d < 0, ((-((f * abs(d)) + e))) / f, ((f * d) + e) / f) → r
  6. Random(1, 10) → b
  7. Random(b + 1, 12) → c
  8. Random(1, 10) → g
  9. Random(1, 10) → h
  10. Random(h + 1, 12) → i
  11. Textfield(k) → InputBox1
  12. Numerator(j) → l
  13. Denominator(j) → m
  14. Segment(A, B) → p
  15. Textfield(o) → InputBox2
  16. If(l ≟ k ∧ m ≟ o, "Correct!", "Wrong. Try again.") → text2
  17. FractionText(s) → text8
  18. FractionText(t) → text9

AI Drawing Prompt Reference

This is an interactive graphic demonstrating the addition and subtraction of mixed numbers. The graphic includes randomly generated numbers for mixed number calculations. Users can input numbers via input boxes, and the system automatically computes and displays results. The graphic features line segments and fraction text to visualize quantities and annotate fraction results. Text objects display intermediate and final answers. The construction order is to generate random numbers, then calculate mixed numbers, and finally use line segments and fraction text to present results. Suitable for classroom practice on fraction operations.
The prompt above was compiled from the original drawing commands and is for reference only.