This is an example of how mathematical content can be presented in Computable Document Format (cdf). In first example, a single slider controls the position of a plane cutting through a cube and intersecting a variable number of points that represent the outcome of rolling three dice.

var cdf = new cdfplugin();

cdf.embed(‘http://faculty.uml.edu/klevasseur/mathematicademos/dice.cdf’, 650, 600);

In this second example, the number of faces on a die varies, and the generating function to the third power is expanded:

var cdf = new cdfplugin();

cdf.embed(‘http://faculty.uml.edu/klevasseur/mathematicademos/dice2.cdf’, 650, 346);