結果 : solve exponential function given two points