A car was purchased for $24,000. Its value is predicted to decay exponentially, decreasing by 13% each year. Write an equation to determine the value of the car.