Find a exponential or logarithmic equation for a set of points