Produce a random function that is the sum of Gaussian random variables
rpoly2 generates a random 2nd degree polynomial (as a function)
1 2 3
a formula; the LHS is empty and the RHS indicates the variables used for input to the function (separated by &)
seed for random number generator, passed to
the number of Gaussians. By default, this will be selected randomly.
rfun is an easy way to generate a natural-looking but random function with ups and downs
much as you might draw on paper. In two variables, it provides a good way to produce
a random landscape that is smooth.
Things happen in the domain -5 to 5. The function is pretty flat outside of that.
seed to create a fixed function that will be the same for everybody
These functions are particularly useful for teaching calculus.
a function with the appropriate number of inputs
a function defined by a 2nd degree polynomial with coefficients selected randomly according to a Unif(-1,1) distribution.
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.