Order Of Execution Time Function For An Algorithm
TECTechnics Classroom   TECTechnics Overview

Expressions Of Pj Problems
Order Of Execution Time Function For An Algorithm

Order Of Execution Time Function For An Algorithm

Suppose the execution time function for an algorithm is:
f(x) = 3 + 8x + x2
Determine the order of f(x).

The strings: S7P5A51 (Physical - Change).

The math:
Pj Problem of Interest is of type change (physical - change). Problems of time are change problems.

Order Of Execution Time Function For An Algorithm

An algorithm is the totality of the steps necessary to solve a given problem. In the context of machine computing, an algorithm consists of the instructions a machine uses to solve a given problem. The execution time of an algorithm measures the time it takes to execute an algorithm for a given set of data.

The execution time function f(N) for an algorithm is of order g(N) if there exists a positive number K and an integer Q such that:
f(N) ≤ K[g(N)] for all N ≥ Q ---------------(1)

So, if f(x) = 3 + 8x + x2
Then for x ≥ 8, f(x) = 3 + 8x + x2 ≤ x2 + x2 + x2 = 3x2.
So, f(x) ≤ 3x2 for all x ≥ 8 satifies equation (1)
So, the given execution time function is of order x2.

The following are common orders of execution time function for an algorithm:
constant k (constant execution time)
log2N (logarithmic execution time)
N (linear execution time)
N log2N
N2 (quadratic execution time)
N3 (cubic execution time)
XN (exponential execution time)

Constant execution time being the best and exponential execution time being the worst.

Math

The point . is a mathematical abstraction. It has negligible size and a great sense of position. Consequently, it is front and center in abstract existential reasoning.
Derivation Of The Area Of A Circle, A Sector Of A Circle And A Circular Ring
Derivation Of The Area Of A Trapezoid, A Rectangle And A Triangle
Derivation Of The Area Of An Ellipse
Derivation Of Volume Of A Cylinder
Derivation Of Volume Of A Sphere
Derivation Of Volume Of A Cone
Derivation Of Volume Of A Torus
Derivation Of Volume Of A Paraboloid
Volume Obtained By Revolving The Curve y = x2 About The X Axis
Single Variable Functions
Absolute Value Functions
Conics
Real Numbers
Vector Spaces
Equation Of The Ascent Path Of An Airplane
Calculating Capacity Of A Video Adapter Board Memory
Probability Density Functions
Boolean Algebra - Logic Functions
Ordinary Differential Equations (ODEs)
Infinite Sequences And Series
Introduction To Group Theory
Advanced Calculus - Partial Derivatives
Advanced Calculus - General Charateristics Of Partial Differential Equations
Advanced Calculus - Jacobians
Advanced Calculus - Solving PDEs By The Method Of Separation Of Variables
Advanced Calculus - Fourier Series
Advanced Calculus - Multiple Integrals
Production Schedule That Maximizes Profit Given Constraint Equation
Separation Of Variables As Solution Method For Homogeneous Heat Flow Equation
Newton And Fourier Cooling Laws Applied To Heat Flow Boundary Conditions
Fourier Series
Derivation Of Heat Equation For A One-Dimensional Heat Flow
Homogenizing-Non-Homogeneous-Time-Varying-IBVP-Boundary-Condition


The Universe is composed of matter and radiant energy. Matter is any kind of mass-energy that moves with velocities less than the velocity of light. Radiant energy is any kind of mass-energy that moves with the velocity of light.
Periodic Table
Composition And Structure Of Matter
How Matter Gets Composed
How Matter Gets Composed (2)
Molecular Structure Of Matter
Molecular Shapes: Bond Length, Bond Angle
Molecular Shapes: Valence Shell Electron Pair Repulsion
Molecular Shapes: Orbital Hybridization
Molecular Shapes: Sigma Bonds Pi Bonds
Molecular Shapes: Non ABn Molecules
Molecular Orbital Theory
More Pj Problem Strings

What is Time?
St Augustine On Time
Bergson On Time
Heidegger On Time
Kant On Time
Sagay On Time
What is Space?
Newton On Space
Space Governance
Leaders
Imperfect Leaders
Essence Of Mathematics
Toolness Of Mathematics
The Number Line
Variables
Equations
Functions
The Windflower Saga
Who Am I?
Primordial Equilibrium
Primordial Care
Force Of Being
Forgiveness

Blessed are they that have not seen, and yet have believed. John 20:29

TECTechnic Logo, Kimberlee J. Benart | © 2000-2021 | All rights reserved | Founder and Site Programmer, Peter O. Sagay.