x = fminsearch(@beale,[-1 ,2]);