DocumentationMathematicaBuilt-in FunctionsNumerical ComputationData Manipulation
Further Examples: Fit
Here is a list of points.
Here is a plot of points.
This fits the data to a straight line with x intercept -2.
This plots the line.
This shows the line together with points.
Here is a table of the sum of the squares of the divisors of the first positive integers.
Here is a plot of divisorsigma2table.
Here are linear and quadratic fits to divisorsigma2table.
Here are the plots of the linear and quadratic fits.
This shows the linear and quadratic fits superimposed on the original data. The quadratic fit is better than the linear one.