Mathematica has three functions for generating pseudorandom numbers that are distributed uniformly over a range of values. Pseudorandom number generation. Generating tables ...
An expression like x^2+2x-7==0 represents an equation in Mathematica. You will often need to solve equations like this, to find out for what values of x they are true. This ...
Files and pipes are both examples of general Mathematica objects known as streams. A stream in Mathematica is a source of input or output. There are many operations that you ...
Constructing matrices with special shapes. This creates a matrix of 0s containing a radius 4 diamond of 1s. The result is a 9×9 matrix. The size of the matrix can be ...
In any interactive session, Mathematica effectively operates in a loop. It waits for your input, processes the input, prints the result, then goes back to waiting for input ...
The basis for a nonlinear conjugate gradient method is to effectively apply the linear conjugate gradient method, where the residual is replaced by the gradient. A model ...
In some cases, such as in a cluster environment, the machine may be run in headless mode, that is, not starting the GUI server (such as X). The operating system may ...
The first step in using a database is making a connection. This part of the tutorial discusses how to do this. If you are just starting to use DatabaseLink, you might want to ...
The shooting method works by considering the boundary conditions as a multivariate function of initial conditions at some point, reducing the boundary value problem to ...
The function FindRoot has a Jacobian option; the functions FindMinimum, FindMaximum, and FindFit have a Gradient option; and the "Newton" method has a method option Hessian. ...