The following applet demonstrates the Steepest Descent and the Conjugate Gradient methods for function minimization.