Initialize
|
•
|
Context Panel: Assign to a Name≻
|
|
|
•
|
Context Panel: Assign to a Name≻
|
|
|
•
|
Context Panel: Assign to a Name≻
|
|
|
Form and solve the equations of the Lagrange multiplier method
|
•
|
Calculus palette: Partial-differentiation operator
Press the Enter key.
|
•
|
Context Panel: Solve≻Solve
|
•
|
Context Panel: Assign to a Name≻
|
|
|
Obtain the minimum distance between the given point and the given plane
|
•
|
Expression palette: Evaluation template
|
•
|
Context Panel:
Evaluate and Display Inline
|
•
|
Context Panel: Approximate≻5 (digits)
|
|
=
|
|
|
A numeric solution can be obtained interactively as follows.
•
|
Write the sequence of objective function (here, ) and constraint equation; press the Enter key.
|
•
|
Context Panel: Optimization≻Minimize (local)
|
|
|
|
|
The first number in the return is the minimum distance, that is, the minimum of subject to the constraint . The list of equations that follows give the coordinates of the point on the constraint plane where this minimizing point lies.