In order to explore the application of the exponentially
weighted moving average to forecasting a trend,
we will first consider the simplest case in which there
is no seasonal fluctuation. The sales rate is obtained
by combining the current sales with the sales rate from
the previous period corrected for trend.