Classfying Mathematic & Timing Functions

by Jeff Hunter, Sr. Database Administrator


Timing Functions Overview

T(n) 10 100 1,000 10,000
log n 3 6 9 13
n1/2 3 10 31 100
n 10 100 1,000 10,000
n log n 30 600 9,000 130,000
n2 100 10,000 1,000,000 100,000,000
n3 1,000 1,000,000 1,000,000,000 1,000,000,000,000
2n 1,024 1030 10300 103000

NOTE: There is approximately 1050 particles in the universe today.

Mathematical Functions

Constant 5
Logarithmic 5 log n
Poly Logarithmic (log n)5
Polynomial n5
Exponential 25n
Exp 2n5
Double Exp 225n

Polynomial Functions

Linear 5n
Quadratic 5n2
Cubic 5n3
? 5n4

Defining Mathematical Functions



Last modified on: Wednesday, 27-Jul-2005 18:58:49 EDT
Page Count: [an error occurred while processing this directive]