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² 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

Add a Comment

all are required fields

     
What do you think of this resource?

Select Your Rate:

Votes:0

 

Related Scripts Download

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

developer Developer: javascriptsource.com
license License: Freeware
operating systems 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 Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All


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

developer Developer: apurvaslair.50g.com
license License: Freeware
operating systems Operating System: All


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

developer Developer: dreamincode.net
license License: Freeware
operating systems Operating System: Windows, Linux, BSD, Solaris


This prints out prime numbers and their sequence number.

developer Developer: dreamincode.net
license License: Freeware
operating systems 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 Developer: planet-source-code.com
license License: Freeware
operating systems Operating System: All


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

developer Developer: http://bibledatabase.org...
license License: Freeware
operating systems 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 Developer: mste.illinois.edu
license License: Freeware
operating systems 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 Developer: planet-source-code.com
license License: Freeware
operating systems Operating System: All