Quadratic equations or Trend analysis