local minima x^2/40 + cos(x) + 1