Tuesday, 25 March 2014

AAMath-Function file (Updated)


It is a javascript file that can be linked to your html webpages to include some of the functions to save time generating such functions.

The functions included are:
  • fact()-factorial
  • ncr()-combination.
  • npr()-permutation.
  • sumToA()-sum to n terms of an Arithmetic Progression.
  • sumToG()-sum to n terms of a Geometric Progression.
  • factors()-factors of a number.
  • reverse()-reverse of a number.
  • swap()-swap between digits.
  • shift()-shift digits
  • multiples()-multiples of a number
  • isPrime()-Check whether the number is prime or not.
  • primes()-Generate a prime number series.New!
  • hcf()-find the hcf of two numbers.New!
  • lcm()-find the lcm of  two numbers.New!
  • factorise()-prime factorise a number.New!

Get more information on these functions for the reference file along with the script file.
-download script and reference-
Download


External linking url:
https://googledrive.com/host/0B9LZUJ9ROeSreUl0b1ZuSHB5TDA


View Reference  Download language file for Notepad++
Hope its helpful.....will continue to add more functions