A farmer buys a tractor for $10,000. If the tractor depreciates 10% per year, write an exponential decay function to fin the value of the tractor in 7 years.