結果 : python calculate error between two curves