The simplest method i know is the Least Squares, there are many others.
I can show you the general form for any number of points and any type of equation, but it takes a little hard work and algebra.
In short therms, you have to find the parameters that minimize the difference
![LaTeX Code: \\sum [f(x)-q(x)]^2](latex_images/25/2572213-0.png)
, where

is the function you want to minimize, and

are the points you are given.
I'll try to post something more elaborate this week.