# Function vs. Algorithm — What's the Difference?

## Difference Between Function and Algorithm

ADVERTISEMENT

## Definitions

#### Function➦

An activity that is natural to or the purpose of a person or thing

Bridges perform the function of providing access across water

Bodily functions

#### Algorithm➦

In mathematics and computer science, an algorithm ( (listen)) is a finite sequence of well-defined, computer-implementable instructions, typically to solve a class of specific problems or to perform a computation. Algorithms are always unambiguous and are used as specifications for performing calculations, data processing, automated reasoning, and other tasks.

#### Function➦

A relation or expression involving one or more variables

The function (bx + c)

#### Algorithm➦

A finite set of unambiguous instructions that, given some set of initial conditions, can be performed in a prescribed sequence to achieve a certain goal and that has a recognizable set of end conditions.

#### Function➦

A thing dependent on another factor or factors

Class shame is a function of social power

#### Algorithm➦

(countable) A collection of ordered steps that solve a mathematical problem. A precise step-by-step plan for a computational procedure that possibly begins with an input value and yields an output value in a finite number of steps.

ADVERTISEMENT

#### Function➦

A large or formal social event or ceremony

He was obliged to attend party functions

#### Algorithm➦

Calculation with Arabic numerals; algorism.

#### Function➦

Work or operate in a proper or particular way

Her liver is functioning normally

#### Algorithm➦

A precise rule (or set of rules) specifying how to solve some problem; a set of procedures guaranteed to find the solution to a problem.

#### Function➦

A person's role or occupation

In my function as chief editor.

#### Algorithm➦

A precise rule (or set of rules) specifying how to solve some problem

ADVERTISEMENT

#### Function➦

(Biology) The physiological activity of an organ or body part

The heart's function is to pump blood.

#### Function➦

(Computers) A procedure within an application.

#### Function➦

An official ceremony or a formal social occasion

Disliked attending receptions and other company functions.

#### Function➦

Something closely related to another thing and dependent on it for its existence, value, or significance

Growth is a function of nutrition.

#### Function➦

A variable so related to another that for each value assumed by one there is a value determined for the other.

#### Function➦

A rule of correspondence between two sets such that there is exactly one element in the second set assigned to each element in the first set. Also called mapping.

#### Function➦

To have or perform a function; serve

Functioned as ambassador.

#### Function➦

To deal with or overcome the challenges of everyday life

For weeks after his friend's funeral he simply could not function.

#### Function➦

What something does or is used for.

#### Function➦

A professional or official position.

#### Function➦

An official or social occasion.

#### Function➦

Something which is dependent on or stems from another thing; a result or concomitant.

#### Function➦

A relation where one thing is dependent on another for its existence, value, or significance.

#### Function➦

(mathematics) A relation in which each element of the domain is associated with exactly one element of the codomain. Category:en:Functions

#### Function➦

(computing) A routine that receives zero or more arguments and may return a result.

#### Function➦

(biology) The physiological activity of an organ or body part.

#### Function➦

(chemistry) The characteristic behavior of a chemical compound.

#### Function➦

(anthropology) The role of a social practice in the continued existence of the group.

#### Function➦

(intransitive) To have a function.

#### Function➦

(intransitive) To carry out a function; to be in action.

#### Function➦

The act of executing or performing any duty, office, or calling; performance.

#### Function➦

The appropriate action of any special organ or part of an animal or vegetable organism; as, the function of the heart or the limbs; the function of leaves, sap, roots, etc.; life is the sum of the functions of the various organs and parts of the body.

#### Function➦

The natural or assigned action of any power or faculty, as of the soul, or of the intellect; the exertion of an energy of some determinate kind.

As the mind opens, and its functions spread.

#### Function➦

The course of action which peculiarly pertains to any public officer in church or state; the activity appropriate to any business or profession.

Tradesmen . . . going about their functions.

The malady which made him incapable of performing hisregal functions.

#### Function➦

A quantity so connected with another quantity, that if any alteration be made in the latter there will be a consequent alteration in the former. Each quantity is said to be a function of the other. Thus, the circumference of a circle is a function of the diameter. If x be a symbol to which different numerical values can be assigned, such expressions as x2, 3x, Log. x, and Sin. x, are all functions of x.

#### Function➦

A religious ceremony, esp. one particularly impressive and elaborate.

Every solemn function' performed with the requirements of the liturgy.

#### Function➦

A public or social ceremony or gathering; a festivity or entertainment, esp. one somewhat formal.

This function, which is our chief social event.

#### Function➦

To execute or perform a function; to transact one's regular or appointed business.

#### Function➦

A mathematical relation such that each element of one set is associated with at least one element of another set

#### Function➦

What something is used for;

The function of an auger is to bore holes

Ballet is beautiful but what use is it?

#### Function➦

The actions and activities assigned to or required or expected of a person or group;

The function of a teacher

The government must do its part

Play its role

#### Function➦

A relation such that one thing is dependent on another;

Height is a function of age

Price is a function of supply and demand

#### Function➦

A formal or official social gathering or ceremony;

It was a black-tie function

#### Function➦

A vaguely specified social event;

The party was quite an affair

An occasion arranged to honor the president

A seemingly endless round of social functions

#### Function➦

A set sequence of steps, part of larger computer program

#### Function➦

Perform as expected when applied;

The washing machine won't go unless it's plugged in

Does this old car still run well?

This old radio doesn't work anymore

#### Function➦

Serve a purpose, role, or function;

The tree stump serves as a table

The female students served as a control group

This table would serve very well

His freedom served him well

The table functions as a desk

#### Function➦

Perform duties attached to a particular office or place or function;

His wife officiated as his private secretary