# Examples

Use this example index to jump to
code examples in the documentation.

## Polynomials and Interpolation

Multidimensional Data Gridding

Triangulation and Interpolation of Scattered Data

## Data Analysis and Statistics

Analyzing Residuals

Polynomial Fit

Exponential Fit

Error Bounds

Using the Basic Fitting Interface

Using FFT to Calculate Sunspot Periodicity

## Function Functions

Minimizing Functions of One Variable

Plotting Mathematical Functions

Computing the Length of a Curve

Double Integration

## Differential Equations - Initial Value Problems

ODE Initial Value Problem Examples

Solving an IVP ODE (van der Pol Equation, Nonstiff)

The van der Pol Equation, µ = 1000 (Stiff)

Simple Nonstiff Problem

Stiff Problem (van der Pol Equation)

Finite Element Discretization

Large, Stiff Sparse Problem

Simple Event Location

Advanced Event Location

Differential-Algebraic Problem

## Differential Equations - Initial Value Delay Problems

A Straightforward Problem

Cardiovascular Model

## Differential Equations - Boundary Value Problems

ODE Boundary Value Problem Examples

Mathieu's Equation

Using Continuation to Solve a Difficult BVP

Using Continuation to Verify a Solution's Consistent Behavior

Solving a BVP that Has a Singular Term

## Partial Differential Equations

PDE Examples

A Single PDE

Electrodynamics Problem

## Sparse Matrices

Generating a Second Difference Operator