click on the cat to set the scripts in motion! click 'see inside' (---^) to understand what the algorithms are. Or, if yo!u're confused (and you at least understand precalculus), then ask me a question in the comments.
This project generates the Tangent numbers (and Secant numbers) -- they are the factors used to construct the Taylor series for the Secant and Tangent function. http://en.wikipedia.org/wiki/Tangent_numbers zag is odd coefficients for the tan(x) = sin(x)/cos(x) series tan(x) ~= 1*x + 2/3! *x^3 + 16/5! *x^5 + 272/7! *x^7 +... zig is even coefficients for the sec(x) = 1/cos(x) series sec(x) ~= 1 + 1/2! *x^2 + 5/4! *x^4 + 61/6! *x^6 +... ---See more about it at http://topologicalmusings.wordpress.com/2008/08/04/continued-fraction-for-e/