Fit a list of Fibonacci numbers:
The exponent is approximately the golden ratio:
Generate data with some noise present:
Determine the approximate complexity of a computation:
Fit to the theoretical model for the complexity of an FFT:
Show the timing data and the fit in a log-log plot:
Fit a model for lubricant viscosity to experimental data:
Model for lubricant viscosity as a function of temperature

and pressure/1000

:
Scale the pressure to improve the conditioning of the model:
Find the parameters

that best fit the scaled data:
Show a plot of the fit with the scaled experimental data:
Fit a model for the rate of isomerization of
n-pentane to isopentane with experimental data:
Nonlinear model for rate as a function of hydrogen

,
n-pentane

, and isopentane

:
Find the parameters

that best fit the data starting with values having the right size:
Find parameters in a differential equation model that gives the best fit:
Define a model so the solution for a set of parameters

is reused for all

values:
Find the fit with tolerance appropriate to the precision of the solutions of the ODE:
Show the fitted model with the data and the residuals:
Find how a nonsoliton initial condition for the KdV equation breaks down into two solitons:
The initial wave breaks into two separate waves:
Get the spatial grid used by
NDSolve to solve the PDE:
The discretized solution at the final time:
Model of two solitons with different velocities:
Find fit with starting conditions estimated from the graph of the discretized solution:
Plots of the two-soliton model and residuals at intermediate times: