implement a simple curve fitting method, finished the reports of this method.