結果 : determine sine function from graph