We are sometimes asked how to reproduce the various Excel Trendline types in NMath: Linear, Logarithmic, Exponential, Power, Polynomial, and Moving Average. In this post, we show you how to compute each trendline using NMath, including printing out the form of the equation and the R2 value (coefficient of determination). [...]