title: Algorithm to Model Averages
body: <p>I'm trying to build an algorithm that finds the ideal value from scattered points.</p>
  
  <p>Basically I have data like:</p>
  
  <pre><code>Point 4.9 - value 200
  Point 5.3 - value 940
  Point 5.9 - value 640
  Point 13.7 - value 300
  </code></pre>
  
  <p>And I need to build a mathematical curve (based on velocity and incline) that will approximate the highest point of this set as 5.5 with a value of 980.</p>
  
  <p>Any thoughts? </p>
  
  <p>Thanks so much!</p>