Superegg
Loading the math board and drawing, please wait…
This example demonstrates the construction of a superegg, a shape that combines the properties of an ellipse and a circle. By adjusting parameters, various shapes can be generated. The construction uses commands like If, Surface, and Sequence, suitable for high school mathematics education.
GeoGebra Commands & Parameters
If(n ≟ (2 * floor(n / 2)) + 1, V, 0) → VVSurface((v * cos(u)), (v * sin(u)), (b * (1 - sqrt((((v * cos(u)))^(2) + ((v * sin(u)))^(2)) / a^(2))^(n))^(1 / n)), u, 0, U, v, 0, a + VV) → cSurface((v * cos(u)), (v * sin(u)), ((-b) * (1 - sqrt((((v * cos(u)))^(2) + ((v * sin(u)))^(2)) / a^(2))^(n))^(1 / n)), u, 0, U, v, 0, a + VV) → dSurface((v * cos(u)), (v * sin(u)), (b * (1 - sqrt((((v * cos(u)))^(2) + ((v * sin(u)))^(2)) / a^(2))^(n))^(1 / n)), u, 0.01, U, v, 0, a + VV) → fSurface((v * cos(u)), (v * sin(u)), ((-b) * (1 - sqrt((((v * cos(u)))^(2) + ((v * sin(u)))^(2)) / a^(2))^(n))^(1 / n)), u, 0, U, v, 0.01, a + VV) → gSequence(CurveCartesian[(v * cos(u)), (v * sin(u)), (b * (1 - sqrt((((v * cos(u)))^(2) + ((v * sin(u)))^(2)) / a^(2))^(n))^(1 / n)), v, 0, a + VV], u, 0, U, U / nbl) → liste1Sequence(CurveCartesian[(v * cos(u)), (v * sin(u)), (b * (1 - sqrt((((v * cos(u)))^(2) + ((v * sin(u)))^(2)) / a^(2))^(n))^(1 / n)), u, 0, U], v, 0, a + VV, ((a + VV) * 2 / nbl)) → liste2Surface(((a * cos(u)) * cos(v)), ((a * sin(u)) * cos(v)), (a * sin(v)), u, 0, 6.28319, v, -1.5708, 0) → desp
AI Drawing Prompt Reference
Draw a superegg, which combines the properties of an ellipse and a circle. Start by defining a parameter n, then use the Surface command to draw the upper and lower parts, adjusting n changes the shape. Next, use the Sequence command to generate a series of curves, and finally, draw the base.
The prompt above was compiled from the original drawing commands and is for reference only.