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.

Results via Envato Market

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.

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).

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

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…)

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