Calculating Percentage Parts Using Factors

Calculating Percentage Parts Using Factors
Loading the math board and drawing, please wait…
2023-10-03 15:18
① This example demonstrates how to compute a percentage part of a quantity by applying a factor (multiplier). ② Core math concepts: basic percentage terminology (base, percentage, rate), additive and multiplicative calculation strategies, and flexible use of percentages in varied contexts. ③ Construction highlights: commands Shuffle, If, Element, Join, Sequence, Textfield, Append, Remove, Zip drive the logic; objects such as questionCount, randomNosForZ, numZ, randomAnswer, randomNosForY, numY, specialCase, case, numX, listPosCorrect, posCorrect, FB, validate, showanswer, showsolution, btnValidate, attemptCount, correctCount, btnTryAgain, btnNew enable random question generation, answer checking, and interactive feedback. ④ Suitable for grades 5‑6 (or equivalent) as classroom practice, self‑study, or formative assessment.

GeoGebra Commands & Parameters

  1. Shuffle(Sequence[Random[1, 9], i, 1, 110]) → randomNosForZ, {1, 4, 9, 7, 4, 5, 7, 6, 7, 6, 7, 3, 2, 1, 7, 6, 5, 5, 7, 3, 3, 3, 6, 1, 1, 2, 2, 4, 3, 2, 9, 4, 4, 5, 2, 7, 2, 7, 5, 2, 4, 1, 5, 2, 6, 1, 3, 5, 7, 1, 3, 1, 4, 3, 3, 1, 3, 4, 4, 9, 5, 2, 8, 7, 6, 6, 1, 1, 2, 8, 9, 9, 6, 1, 8, 5, 1, 8, 5, 2, 6, 7, 9, 8, 2, 6, 9, 2, 7, 4, 4, 3, 9, 5, 4, 1, 2, 4, 8, 6, 1, 3, 3, 4, 8, 6, 6, 3, 5, 9}
  2. If(numZ < 4, 1, If[numZ > 3 ∧ numZ < 7, 2, If[numZ > 6, 3]]) → randomAnswer
  3. Shuffle(Sequence[Random[2, 9], i, 1, 110]) → randomNosForY, {8, 3, 2, 4, 4, 3, 4, 8, 2, 8, 9, 4, 8, 8, 9, 3, 4, 6, 2, 8, 3, 8, 9, 7, 8, 3, 8, 5, 6, 3, 4, 6, 3, 4, 6, 4, 3, 3, 9, 8, 7, 7, 8, 6, 9, 4, 5, 5, 6, 2, 5, 8, 4, 7, 6, 5, 9, 3, 9, 4, 7, 7, 4, 7, 7, 9, 9, 8, 2, 7, 5, 3, 3, 6, 5, 6, 3, 3, 9, 7, 4, 7, 9, 6, 4, 7, 2, 6, 9, 6, 7, 3, 2, 7, 8, 2, 7, 3, 4, 7, 3, 5, 8, 6, 9, 2, 8, 6, 5, 5}
  4. Element(randomNosForY, Mod[questionCount, 100] + 1) → numY
  5. Join(Sequence[Shuffle[{1, 1, 1, 2, 2}], i, 1, 9]) → specialCase
  6. If(case ≟ 1, (numY * 10) + numZ, numY) → numA
  7. Shuffle(Sequence[Random[1, 3], i, 1, 110]) → listPosCorrect, {2, 2, 1, 3, 3, 2, 1, 3, 2, 2, 3, 3, 2, 2, 1, 1, 2, 2, 1, 2, 3, 1, 3, 1, 2, 1, 1, 3, 1, 2, 1, 2, 1, 2, 2, 2, 2, 3, 3, 1, 1, 1, 2, 3, 2, 1, 3, 3, 2, 3, 3, 1, 3, 3, 1, 1, 1, 2, 1, 3, 3, 1, 3, 2, 2, 1, 1, 1, 3, 1, 1, 2, 1, 1, 1, 2, 2, 2, 1, 3, 3, 2, 2, 2, 3, 1, 3, 2, 1, 3, 2, 3, 2, 3, 1, 2, 1, 1, 2, 2, 2, 1, 1, 3, 3, 1, 1, 3, 3, 2}
  8. Sequence(FB0 - (m * (0, sizefb)), m, 0, 2) → listFBpoints
  9. If(a, listFBpoints(1), If[b, listFBpoints(2), listFBpoints(3)]) → FB
  10. Textfield(input1) → InputBox1
  11. Textfield(input2) → InputBox2
  12. Shuffle(Sequence[Random[0, 1], i, 1, 110]) → randomNosForX, {1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0}
  13. Append(true, Sequence[If[randomNosForX(i) ≟ randomNosForX(i - 1), false, true], i, 2, 100]) → stayX
  14. Append(true, Sequence[If[randomNosForY(i) ≟ randomNosForY(i - 1), false, true], i, 2, 100]) → stayY
  15. Remove(Sequence[If[stayX(i), randomNosForX(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForXwithoutRepeat
  16. Remove(Sequence[If[stayY(i), randomNosForY(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForYwithoutRepeat
  17. Element(randomNosForXwithoutRepeat, Mod[questionCount, Length[randomNosForXwithoutRepeat]] + 1) → numXwithoutRepeat
  18. Element(randomNosForYwithoutRepeat, Mod[questionCount, Length[randomNosForYwithoutRepeat]] + 1) → numYwithoutRepeat
  19. Zip(RandomElement[{1, 2, 3} \ {m}], m, listPosCorrect) → listPosWrong1
  20. Zip(RandomElement[{1, 2, 3} \ {m, n}], m, listPosCorrect, n, listPosWrong1) → listPosWrong2
  21. If(posCorrect ≟ 1, TextCorrect, If[posWrong1 ≟ 1, TextWrong1, TextWrong2]) → Text1
  22. If(posCorrect ≟ 2, TextCorrect, If[posWrong1 ≟ 2, TextWrong1, TextWrong2]) → Text2
  23. If(posCorrect ≟ 3, TextCorrect, If[posWrong1 ≟ 3, TextWrong1, TextWrong2]) → Text3

AI Drawing Prompt Reference

A math practice interface with a question text box, an input field for student answers, an answer display area, and a feedback text area. The question is generated using random numbers, including a base, a percentage, and a calculated result. The interface provides interactive feedback based on the student's answer. Construction order: first generate random numbers and question text, then create input boxes and answer area, and finally add feedback logic.
The prompt above was compiled from the original drawing commands and is for reference only.