Random Fractions Generator

Random Fractions Generator
Loading the math board and drawing, please wait…
2014-10-07 02:06
This example demonstrates the generation and visualization of random fraction sequences. It involves core mathematical concepts such as fractions, sequences, statistical characteristics, and sorting algorithms. GeoGebra commands and objects like Sequence, Shuffle, Join, Sort, and Element are used in the construction. Suitable for high school mathematics education to understand probability statistics and algorithm applications.

GeoGebra Commands & Parameters

  1. Sequence(i, i, 1, maxnumden) → list_1
  2. Shuffle(list_1) → posrandomlist
  3. Sequence((-i), i, 1, maxnumden) → list_2
  4. Join({list_1, list_2}) → list_3
  5. Shuffle(list_3) → randomlist
  6. Sort(poslist_{f1}) → poslistsort_{f1}
  7. Element(poslistsort_{f1}, 2) → posden_1
  8. Sort(poslist_{f2}) → poslistsort_{f2}
  9. Element(poslistsort_{f2}, 2) → posden_2
  10. Element(poslistsort_{f1}, 1) → posnum_1
  11. Element(poslistsort_{f2}, 1) → posnum_2
  12. Sort(Sequence[(abs(Element[list_{f1}, i]), i), i, 1, Length[list_{f1}]]) → listhelp_1
  13. Sort(Sequence[(abs(Element[list_{f2}, i]), i), i, 1, Length[list_{f2}]]) → listhelp_2
  14. Sequence(Element[list_{f1}, y(Element[listhelp_1, i])], i, 1, Length[list_{f1}]) → listsort_{f1}
  15. Sequence(Element[list_{f2}, y(Element[listhelp_2, i])], i, 1, Length[list_{f2}]) → listsort_{f2}
  16. Element(listsort_{f1}, 1) → num_1
  17. Element(listsort_{f2}, 1) → num_2
  18. Element(listsort_{f2}, 2) → den_2
  19. Element(listsort_{f1}, 2) → den_1

AI Drawing Prompt Reference

Generate and visualize random fraction sequences, demonstrating the application of fractions, sequences, statistical characteristics, and sorting algorithms. First, create two fraction sequences, merge them, and randomly sort the combined list. Then, select specific elements from the sorted sequences as numerators and denominators, sort the absolute values, and rearrange the numerators and denominators, finally displaying the randomly generated fraction sequences and their statistical features.
The prompt above was compiled from the original drawing commands and is for reference only.