Determines a local minimum of a given 1D function in a given interval. The method is based on derivatives of the function.


icon

Inputs/Outputs

  • cdbl.png accuracy

    accuracy controls the accuracy of the determined minimum of formula. The method stops if two consecutive approximations differ not more than the value of accuracy.

  • cdbl.png a (start)

    a is the left point of the bracketing interval. The default is 0.0.

  • cdbl.png b (start)

    b is the middle point of the bracketing interval. The default is 0.0.

  • cdbl.png c (start)

    c is the right point of the bracketing interval. The default is 0.0.

  • cstr.png formula

    formula is a string describing the function under investigation. The formula can contain any number of valid variables.

  • idbl.png minimum

    minimum is the determined local minimum of formula.

  • idbl.png f(minimum)

    f(minimum) is the function value at the determined local minimum.

  • iu32.png ticks

    ticks is the time in milliseconds for the whole calculation.

  • ii32.png error

    error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

  • Refer to the Golden Section 1D VI description for the definition of a bracketing interval. Here the derivative of formula is used. This leads to a faster algorithm, because the new bracketing interval has better properties than those of the Golden Section 1D VI.