結果 : determine linear function from table