S*********g 发帖数: 5298 | 1 Use Mathematica
data = {{5000, 3268},
{10000, 5927},
{15000 , 8302},
{20000 , 10589},
{25000 , 12734},
{30000 , 14621},
{35000 , 16668},
{40000 , 18530},
{45000 , 20273},
{50000 , 22163},
{55000, 23690},
{60000, 25514},
{65000, 27155},
{70000, 28559}};
(a) Fit[data, {1, x}, x]
ANSWER: 2578.58 + 0.384558 x
(b) Fit[data, {1, x, x^2}, x]
ANSWER: 1042.0+0.49979 x - 1.536*10^-6 x^2
(c)Fit[data, {1, x, x^2, x^3}, x]
ANSWE |
|