Working version: quadratic with interest rate and historical sales price.