This is documentation for Mathematica 5.2, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Building Up Computations

Being able to work with formulas lets you easily integrate all the parts of a computation.

Here are the eigenvalues of a matrix of numbers.

Mathematica can still compute the eigenvalues even when symbolic parameters are introduced. This expression is a compact representation of the eigenvalues for any value of c.

Mathematica's functions are carefully designed so that output from one can easily be used as input to others.

This takes the formula for the eigenvalues and immediately plots it.This picture shows how the eigenvalues vary with c.

You can solve for the value of b at which the first eigenvalue is zero.

Or find the integral from 0 to c.

This finds the series expansion of the result.

This searches numerically for a root.

Being able to work with formulas is also important in summarizing data.

This generates a table of the first 20 primes.

Fit produces an approximate formula.

This computes the sum of the first 20 primes using the approximate formula.

Here is the exact result.