User Guide

You can define random variables by specifying a distribution in a call to the
RandomVariable command.
>
>
Find the probability distribution function for X. (For information on statistics
computations, see Statistical Computations (page 175)).
>
represents the Dirac delta function. For more information, refer to the
?Dirac help page.
Adding Custom Distributions
To add a new distribution, specify a probability distribution in a call to the
Distribution command.
>
To construct a piecewise-continuous function in 1-D Math, use the piecewise
command, for example, t -> piecewise(t < 0, 0, t < 3, 1/3, 0).
Define a new random variable with this distribution.
>
174 4 Mathematical Computations