Algorithm vs Formula - What's the difference?
algorithm | formula |
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.
* 1990 , Cormen, Leiserson, and Rivest, Introduction to Algorithms'': page 1. Cambridge, MA, The MIT Press, 1999 (''23rd printing )
* {{quote-magazine, date=2013-07-26, author=(Leo Hickman)
, volume=189, issue=7, page=26, magazine=(The Guardian Weekly)
, title= (archaic) Calculation with Arabic numerals; algorism.
(mathematics) Any mathematical rule expressed symbolically.
(chemistry) A symbolic expression of the structure of a compound.
a plan or method for dealing with a problem or for achieving a result
A formulation; a prescription; a mixture or solution made in a prescribed manner; the identity and quantities of ingredients of such a mixture.
Drink given to babies to substitute for mother's milk.
(logic) A syntactic expression of a proposition, built up from quantifiers, logical connectives, variables, relation and operation symbols, and, depending on the type of logic, possibly other operators such as modal, temporal, deontic or epistemic ones.
As nouns the difference between algorithm and formula
is that algorithm is 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 while formula is any mathematical rule expressed symbolically.algorithm
English
(wikipedia algorithm)Alternative forms
* algorism (obsolete)Noun
(en noun)- Informally, an algorithm''''' is any well-defined computational procedure that takes some value, or set of values, as input and produces some value, or set of values, as output. An ' algorithm is thus a sequence of computational steps that transform the input into the output.
How algorithms rule the world, passage=The use of algorithms in policing is one example of their increasing influence on our lives. And, as their ubiquity spreads, so too does the debate around whether we should allow ourselves to become so reliant on them – and who, if anyone, is policing their use.}}
Hyponyms
(hyp-top) * approximation algorithm * checksum algorithm * classification algorithm * compression algorithm * computer arithmetic algorithm * distributed algorithm * divide and conquer algorithm (hyp-mid) * genetic algorithm * greedy algorithm * parallel algorithm * randomized algorithm * randomized algorithm * semi-algorithm * sequential algorithm (hyp-bottom)Usage notes
* Though some technical definitions require that an algorithm always terminate in a finite number of steps, this distinction is not generally observed in practice.See also
* data structure * function * programAnagrams
* logarithm English eponyms English terms derived from Arabic English terms derived from Persianformula
English
Noun
(wikipedia formula)- is a formula for finding the roots of the quadratic equation ax2 + bx + c = 0 .
- H2O is the formula for water (Dihydrogen monoxide)
- The company's winning formula includes excellent service and quality products.
- The formula of the rocket fuel has not been revealed.