Vitaliy’s Math Javascript Library – is the collection of mathematical routines not included in JavaScript built-in objects (Math, Number). The tool on this page is used to demonstrate how these functions work. A Netscape layer bug is fixed. Some logical errors fixed.

# Math Related JavaScript Code Snippets

Many of these snippets deal with JavaScript calculators. They either serve a specific purpose or are just general calculators. Other snippets listed here deal with JavaScript equivalents. They convert from one unit to another in many categories – acceleration, power, and velocity, just to name a few.

Use this application to integrate a function f (z) using left endpoint approximation, right endpoint approximation, the Trapezoid Rule, Midpoint Rule, and Simpson’s Rule. Includes examples.

Number theory calculator that solves Diophantine equations of the type Ax^2 + Bxy + Cy^2 + Dx + Ey + F = 0 where x and y must be integer numbers. It has two modes: solution only and step-by-step (shows how results are found).

Small (20k), customizable JavaScript unit converter. No depedencies, can handle all popular units (-20 properties and -250 units).

Triangular Numbers

Great calculator for trig calculations…

Calculates the six basic trigonometric functions of radians and angles with minutes and seconds.

Resolves practically any kind of triangle (looks and works correctly only in IE).

Are your kids having trouble learning times tables? This little script may be just what you’re looking for.

This is a very advanced piece of work. Multiple memory banks, scientific functions, keyboard control. Check it out :p!

This script will help you calculate your training heart rate. That figure is used to determine the target zone for aerobic training.

This little baby shakes the screen, a little, giving life and coolness to the site (a 13-year old couldn’t do any better,programming/html/web-design/flash master…)

With this script you can convert any number base Bin, Oct, Dec, Hex or any other base (2-16) to any other base. for example 16 base to 2 base or dec to 4 base…

Page insert that tells the users platform and cpu class,app.code name,app.minor version,browser name, and browser version

This script finds all three solutions (if existing) of a third-degree equation (ax^3+bx^2+cx+d=0)