結果 : write a linear function from a table