Trinity College Dublin
 
Search for: in  
You are here: Home / Category Index / Sequences And Series / Factorials

Factorials - By Michael Tiarnaigh

How to use this applet:

Simply copy the Factorial.java, Factorial.class, Factorial.html and all the .gif files into the same directory, and run the Applet using Applet Viewer, or any internet browser.

Notes on the maths used in the applet:

Other useful information:

At the moment,the speed of the slides is set at 1000 milliseconds between each.To change this, simply modify the speed in the run() method by altering the "sleep" time to suit yourself. Also, at the moment, the applet is set to deal with merely 3 slides.This can also be changed easily, by uploading more .gif files to the directory, renaming them "A1, A2, A3,....gif" and changing the settings in the paint() method. Potentially, the Applet can deal with an unrestricted amount of image files, thus displaying the animational qualities of Java.