# Finding the Global Minimum of a Function Using Simulated Annealing

Finding the Global Minimum of a Function Using Simulated Annealing

This Demonstration finds the global minimum of a function exhibiting several local minima. The method presented is based on simulated annealing, a numerical technique that rapidly determines the global minimum. The test function has the form:

f(x)=a+cos(πx)-bsin(2πx)+cos(3πx)sin(πx)

2

x

a

b