Fmin
Find minimum value for a function
Syntax
fmin(f, a, b) |
f is a user defined function with single independent variable a, b are scalars |
Return both the minimum value and the location of the minimum value for function f in range [a,b] |
Example
Input |
Output |
f(x) => x^3 - 2*x - 5 fmin(f, 0, 2) |
|
f(x) => x^3 - 2*x - 5 <f_min, x_min> = fmin(f, 0, 2) |
Created with the Personal Edition of HelpNDoc: Full-featured Help generator