Cylinder Test Example
Loading the math board and drawing, please wait…
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
Random(1, 20) → aRandom(2, 25) → hMod(b1, 1000) → bf10Mod(b2, 1000) → bf20Mod(b3, 1000) → bf30Mod(b4, 1000) → bf40If(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]]) → text3If(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]]) → text4If(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]]) → text5Random(1, 4) → bIf(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]]) → text6Mod(c1, 1000) → cf10Mod(c2, 1000) → cf20Mod(c3, 1000) → cf30Mod(c4, 1000) → cf40If(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]]) → text11If(Mod[i, 2] ≟ 0, 1, 2) → dIf(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]]) → text12If(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]]) → text13If(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]]) → text14If(d ≟ 1, text3, text11) → text7If(d ≟ 1, text4, text12) → text8If(d ≟ 1, text5, text13) → text9If(d ≟ 1, text6, text14) → text10If(d ≟ 1, text6, text14) → text15If(d ≟ 1, "ลบ.ซม.", "ตร.ซม.") → nuiIf(c ≟ 1, "ก.", If[c ≟ 2, "ข.", If[c ≟ 3, "ค.", "ง."]]) → text34If(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.