Cylinder Choices
Loading the math board and drawing, please wait…
This example demonstrates the construction of a cylinder, involving basic concepts such as radius, height, and lateral surface area. Using GeoGebra commands like Random, Mod, and If, the parameters of the cylinder can be dynamically changed, helping students understand the properties of a cylinder. Suitable for middle and high school students learning geometric construction 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(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