The following applet shows you how the Nelder-Mead simplex method evolves to minimize the value of a function.