Identify linear and exponential functions