3D Linear Programming
Loading the math board and drawing, please wait…
This example demonstrates the feasible region and optimal solution in 3D space for linear programming problems. It involves core math concepts like 3D vectors, step functions, conic sections, quadrilaterals, and tangents. Construction highlights include using GeoGebra commands and objects such as Textfield, RemoveUndefined, Sequence, Unique, PointIn, Segment, Zip, TableText, Max, If, Min, Line. Suitable for high school and above mathematics education or self-learning, focusing on spatial geometry and optimization problems.
GeoGebra Commands & Parameters
Textfield(Ine1) → cse1Textfield(Ine2) → cse2Textfield(Ine3) → cse3Textfield(Ine4) → cse4RemoveUndefined({Vertex[region]}) → verSequence(IsInRegion[ver(i), region], i, 1, Length[ver]) → verEnRegionUnique(RemoveUndefined[Sequence[IndexOf[false, verEnRegion, i], i, 1, Length[ver]]]) → verIndUnique(Remove[ver, Sequence[Element[ver, Element[verInd, i]], i, 1, Length[verInd]]]) → verRegionPointIn(region) → PSegment(P, Q) → fTextfield(FO) → cse5Zip(FO(x(i), y(i)), i, verRegion) → ValoresTableText(Join[{{"Puntos"}, verRegion}], Join[{{"Valores"}, Valores}], "vc|_") → texto2Max(Zip[x(k), k, verRegion]) → maxX1If(Min[Zip[x(k), k, verRegion]] ≟ 0, (maxX1 * 0.05)) → minX1Max(Zip[y(k), k, verRegion]) → maxY1If(Min[Zip[y(k), k, verRegion]] ≟ 0, (maxY1 * 0.05)) → minY1Min(Valores) → minZMax(Valores) → maxZLine(P, u) → g
AI Drawing Prompt Reference
Draw a 3D coordinate system with a convex polyhedron defined by four linear inequalities as the feasible region; show all vertices and highlight those lying inside the region; place a movable point inside the region and draw a segment from it indicating the objective function direction; compute and list the objective function value at each feasible vertex, presenting a vertex‑value table; also mark the minimum and maximum extents of x, y, and z within the region and color‑code the vertices where the objective attains its minimum and maximum.
The prompt above was compiled from the original drawing commands and is for reference only.