FMAX: Function maximum
syntax: FMAX(expr, varname, lower, upper) or
FMAX(expr, varname, lower, upper, exclopt, prec)
returns the value at which the maximum value for expression with
respect to variable <varname> occurs, between <lower> and <upper>
values for <varname>. <lower> must be less than <upper>.
The precision of the calculation can be specified with the
(optional) variable <prec> which if not explicitly specified is 1E-5.
The optional exclopt argument can either be: INCLUDE ENDS or EXCLUDE ENDS
If EXCLUDE ENDS is specified then the lower and upper function endpoint values
are not included when determining the minimum function value. By default
INCLUDE ENDS is specified.