Hello.
I want you to make a excel's statistical function written in php.
The function name is "forecast()".
Please study the function of forecast() in excel on yourself.(or you already know?)
Class or single function are either is ok.
The function you made needs to have a same resulting value to the excel's forecast() function.
A lot of comments and notes in source code please.
Thank you.