FindMaximum
FindMaximum(f, {x, xstart})
searches for a local numerical maximum of
f
for the variablex
and the start valuexstart
.
FindMaximum(f, {x, xstart}, Method->methodName)
searches for a local numerical maximum of
f
for the variablex
and the start valuexstart
, with one of the following method names:
FindMaximum(f, {{x, xstart},{y, ystart},...})
searches for a local numerical maximum of the multivariate function
f
for the variablesx, y,...
and the corresponding start valuesxstart, ystart,...
.
See
Powell
Implements the Powell optimizer.
This is the default method, if no methodName
is given.
ConjugateGradient
Implements the ConjugateGradient optimizer.
This is a derivative based method and the functions must be symbolically differentiable.
SequentialQuadratic
Implements the sequentiel quadratic optimizer.
This is a derivative, multivariate based method and the functions must be symbolically differentiable.
Examples
>> FindMaximum(Sin(x), {x, 0.5}){1.0,{x->1.5708}}