Mathematica 9 is now available

SetDelayed

lhs := rhs assigns rhs to be the delayed value of lhs. rhs is maintained in an unevaluated form. When lhs appears, it is replaced by rhs, evaluated afresh each time.

lhs := rhs returns Null if the assignment specified can be performed, and returns $Failed otherwise.
• You can see all the assignments associated with a symbol lhs by evaluating ?lhs or by clicking  on the
Calculation controller.
• See also: Clear, Set.

Examples

Using InstantCalculators

Here are the InstantCalculators for the SetDelayed function. Enter the parameters for your calculation and click Define to see the result.

Plot f from 0 to 8Pi.

Plot f2 for x from Pi to 2Pi and y from Pi to 2Pi.

Entering Commands Directly

You can paste a template for this command via the Text Input button on the SetDelayed Function Controller.

Define a custom function as  .

Values of the function at distinct points can be calculated.

A plot can be generated.

The function can be symbolically manipulated.

Multivariable functions can also be defined. This uses the ordinary mathematical notation for Exp.

Clear the function definitions.



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.