# Mathop

**Category:** JavaScript - Mathematics

This header file is meant to help out in simple mathematical operations that might be involved in your programs. You will have to copy it to the Include directory of your compiler to be able to use it.Functions: - 1) The function prime(n) will give an output of one if the number n is prime and zero if n is not. - 2) The function GCD(x,y) will give the greatest common denominator of x and y. - 3) The function swap(x,y) will switch the values stored in variables x and y. - 4) The functions qroot1(a,b,c) and qroot2(a,b,c) will return the value of the roots of the quadratic equation ax&sup2; by c provided the inputs are the co-efficients a, b, c. *Date: 23 January, 2012*

Mathematical Operations - Prime Numbers - Quadratic Equation Roots - Header - File - Wuadratic

Homepage: http://apurvaslair.50g.com/

Developer: apurvaslair.50g.com

License: Freeware

Operating System: All

all are required fields

# Related Scripts Download

This is a calculator with basic functions for use on your site.

** Developer:** javascriptsource.com

** License:** Freeware

** Operating System:** All

This script includes the function primepow(aNumber) that finds the prime number P and power N of aNumber such that aNumber = P^N.

** Developer:** code.activestate.com

** License:** Freeware

** Operating System:** All

This program uses functions to find the first 10 prime numbers.

** Developer:** apurvaslair.50g.com

** License:** Freeware

** Operating System:** All

This program will display all the prime factors from 1 to 1000.

** Developer:** dreamincode.net

** License:** Freeware

** Operating System:** Windows, Linux, BSD, Solaris

This prints out prime numbers and their sequence number.

** Developer:** dreamincode.net

** License:** Freeware

** Operating System:** Windows, Linux, BSD, Solaris

This is a quadratic equation solver,this program can be usefull to solve second-order polynomial equation with one variable "x".

** Developer:** planet-source-code.com

** License:** Freeware

** Operating System:** All

This script will feed the spammer's email harvester with thousands of fully RCF822 compliant but completely undeliverable email addresses.

** Developer:** http://bibledatabase.org...

** License:** Freeware

** Operating System:** Unix

Mean and Mean Deviation (MAD) script allows you to determinate the mean and the mean deviation for a set of data.

** Developer:** mste.illinois.edu

** License:** Freeware

** Operating System:** All

This code demonstrates how to : create a window, use OpenGL, load textures from PNG and BMP directly to OpenGL, create basics geometry and use texture coordinate easily, use display list, use billboarding, make a basic animation engine, use the camera, creatbillboard and more.

** Developer:** planet-source-code.com

** License:** Freeware

** Operating System:** All