Cylinder Test Example

Cylinder Test Example
Loading the math board and drawing, please wait…
2019-06-11 11:07
This example demonstrates the geometric construction of a cylinder and the variation of its parameters. Key math concepts include cylinder volume and surface area calculations, exponent functions, binomial distribution, expected value, confidence intervals, and standard deviation. It is constructed using GeoGebra commands like Random, Mod, and If, with objects such as sliders, buttons, variables, and lists. Suitable for high school mathematics education, particularly for illustrating the integration of probability statistics and solid geometry.

GeoGebra Commands & Parameters

  1. Random(1, 20) → a
  2. Random(2, 25) → h
  3. Mod(b1, 1000) → bf10
  4. Mod(b2, 1000) → bf20
  5. Mod(b3, 1000) → bf30
  6. Mod(b4, 1000) → bf40
  7. If(b1 > 999.99 ∧ bf10 > 99.99, bf1 + "," + bf10, If[b1 > 999.99 ∧ bf10 > 9.99, bf1 + ",0" + bf10, If[b1 > 999.99 ∧ bf10 < 10, bf1 + ",00" + bf10, "" + bf10]]) → text3
  8. If(b2 > 999.99 ∧ bf20 > 99.99, bf2 + "," + bf20, If[b2 > 999.99 ∧ bf20 > 9.99, bf2 + ",0" + bf20, If[b2 > 999.99 ∧ bf20 < 10, bf2 + ",00" + bf20, "" + bf20]]) → text4
  9. If(b3 > 999.99 ∧ bf30 > 99.99, bf3 + "," + bf30, If[b3 > 999.99 ∧ bf30 > 9.99, bf3 + ",0" + bf30, If[b3 > 999.99 ∧ bf30 < 10, bf3 + ",00" + bf30, "" + bf30]]) → text5
  10. Random(1, 4) → b
  11. If(b4 > 999.99 ∧ bf40 > 99.99, bf4 + "," + bf40, If[b4 > 999.99 ∧ bf40 > 9.99, bf4 + ",0" + bf40, If[b4 > 999.99 ∧ bf40 < 10, bf4 + ",00" + bf40, "" + bf40]]) → text6
  12. Mod(c1, 1000) → cf10
  13. Mod(c2, 1000) → cf20
  14. Mod(c3, 1000) → cf30
  15. Mod(c4, 1000) → cf40
  16. If(c1 > 999.99 ∧ cf10 > 99.99, cf1 + "," + cf10, If[c1 > 999.99 ∧ cf10 > 9.99, cf1 + ",0" + cf10, If[c1 > 999.99 ∧ cf10 < 10, cf1 + ",00" + cf10, "" + cf10]]) → text11
  17. If(Mod[i, 2] ≟ 0, 1, 2) → d
  18. If(c2 > 999.99 ∧ cf20 > 99.99, cf2 + "," + cf20, If[c2 > 999.99 ∧ cf20 > 9.99, cf2 + ",0" + cf20, If[c2 > 999.99 ∧ cf20 < 10, cf2 + ",00" + cf20, "" + cf20]]) → text12
  19. If(c3 > 999.99 ∧ cf30 > 99.99, cf3 + "," + cf30, If[c3 > 999.99 ∧ cf30 > 9.99, cf3 + ",0" + cf30, If[c3 > 999.99 ∧ cf30 < 10, cf3 + ",00" + cf30, "" + cf30]]) → text13
  20. If(c4 > 999.99 ∧ cf40 > 99.99, cf4 + "," + cf40, If[c4 > 999.99 ∧ cf40 > 9.99, cf4 + ",0" + cf40, If[c4 > 999.99 ∧ cf40 < 10, cf4 + ",00" + cf40, "" + cf40]]) → text14
  21. If(d ≟ 1, text3, text11) → text7
  22. If(d ≟ 1, text4, text12) → text8
  23. If(d ≟ 1, text5, text13) → text9
  24. If(d ≟ 1, text6, text14) → text10
  25. If(d ≟ 1, text6, text14) → text15
  26. If(d ≟ 1, "ลบ.ซม.", "ตร.ซม.") → nui
  27. If(c ≟ 1, "ก.", If[c ≟ 2, "ข.", If[c ≟ 3, "ค.", "ง."]]) → text34
  28. If(b ≟ 1, "ก.", If[b ≟ 2, "ข.", If[b ≟ 3, "ค.", "ง."]]) → text35

AI Drawing Prompt Reference

Draw a cylinder with random base radius and height, showing its volume and surface area calculations. Include sliders and buttons to adjust parameters and trigger random updates. Display probability statistics texts such as binomial distribution, expected value, confidence intervals, and standard deviation, presented as multiple-choice options labeled with Thai letters. Annotate the cylinder with units like cubic centimeters or square centimeters, switching based on conditions. The layout includes dynamically generated numeric texts for results.
The prompt above was compiled from the original drawing commands and is for reference only.