# Scientific Calculator

## Matthew Crumley

http://www.matthewcrumley.com/

From Seminole, Florida

#### About me

I wrote the Scientific Calculator app and this website.

I'm a computer programmer from Seminole Florida. I like programming, math, JavaScript, and Chrome, so I thought it would be fun to combine all of those into one project :)

It's been a lot of fun making it and I hope you find it useful.

#### Scripts

- functional
Useful functions for doing functional programming, and list processing

- strings
String functions: join and explode

- miller-rabin
millerRabin and isProbablePrime functions

- sort
Sort a list, optionally with a custom ordering function. It's a bubble sort so don't use it in real code.

- primes
Generate all the prime numbers from 0 to n using the Sieve of Eratosthenes

- combinatorics
Permutations and Combinations

- average
Calculate the average (mean) of a list of numbers

- functional-examples
Example implementations of some the built-in functional... functions.

- factors
Get all the prime factors of a number (plus 0 or -1) with or without duplicates.

- fibonacci
Calculate the nth Fibonacci Number