結果 : maximum and minimum of two variable function