結果 : calculate exponential function from two points