Question: points to line equation

I am trying to get the equation of a line. I have a buch of points and need the equation of a line going through those points. I am making computer program that can finde the y value of any point on the line with the equation I'm trying to get and an X value.

So, I have some points,..

I can get the graph,..but not the equation for that graph...

Is this posable,...?? I can't seem to find out how...

Thank you!

(I put in the points Im using just as are ference)

 

X             y

2019      0

1546      1000

1298      2000

1157      3000

1052      4000

963        5000

901        6000

852        7000

802        8000

780        9000

747       10000

Please Wait...