The Beale function is multimodal, with sharp peaks at the corners of the input domain. The function is usually evaluated on the square x i ∈ [-4.5, 4.5], for all i = 1, 2.