Qurak

Constrained optimization introduction local optimization

Tutorial 3 steps, run in order in one session. Every step was executed against the engine and the output below is what it produced.

Step 1
FindMinimum[3x^4 - 28x^3 + 84x^2 - 96x + 42, {x, 1.1}]
Output
{5., {x -> 1.}}
Step 2
Minimize[3x^4 - 28x^3 + 84x^2 - 96x + 42, {x}]
Output
{-22, {x -> 4}}
Step 3
Plot[3x^4 - 28x^3 + 84x^2 - 96x + 42, {x, 0, 5}]
Output
-Graphics-

Functions used

Related recipes

All recipes · Function reference · Use this from an MCP client