Qurak

Constrained optimization introduction local optimization

Tutorial 3 stappen, op volgorde uitgevoerd in één sessie. Elke stap is tegen de engine uitgevoerd en de uitvoer hieronder is wat hij opleverde.

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

Gebruikte functies

Gerelateerde recepten

Alle recepten · Functiereferentie · Gebruik dit vanuit een MCP-client