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. In contrast, a heuristic is a technique used in problem solving that uses practical methods and/or various estimates in order to produce solutions that may not be optimal but are sufficient given the circumstances. As an effective method, an algorithm can be expressed within a finite amount of space and time, and in a well-defined formal language for calculating a function. Starting from an initial state and initial input (perhaps empty), the instructions describe a computation that, when executed, proceeds through a finite number of well-defined successive states, eventually producing "output" and terminating at a final ending state. The transition from one state to the next is not necessarily deterministic; some algorithms, known as randomized algorithms, incorporate random input.The concept of algorithm has existed since antiquity. Arithmetic algorithms, such as a division algorithm, were used by ancient Babylonian mathematicians c. 2500 BC and Egyptian mathematicians c. 1550 BC. Greek mathematicians later used algorithms in 240 BC in the sieve of Eratosthenes for finding prime numbers, and the Euclidean algorithm for finding the greatest common divisor of two numbers. Arabic mathematicians such as al-Kindi in the 9th century used cryptographic algorithms for code-breaking, based on frequency analysis.The word algorithm itself is derived from the name of the 9th-century mathematician Muḥammad ibn Mūsā al-Khwārizmī, whose nisba (identifying him as from Khwarazm) was Latinized as Algoritmi. A partial formalization of the modern concept of algorithm began with attempts to solve the Entscheidungsproblem (decision problem) posed by David Hilbert in 1928. Later formalizations were framed as attempts to define "effective calculability" or "effective method". Those formalizations included the Gödel–Herbrand–Kleene recursive functions of 1930, 1934 and 1935, Alonzo Church's lambda calculus of 1936, Emil Post's Formulation 1 of 1936, and Alan Turing's Turing machines of 1936–37 and 1939.

View More On Wikipedia.org
  • 682

    Greg Bernhardt

    A PF Singularity From USA
    • Messages
      19,443
    • Media
      227
    • Reaction score
      10,021
    • Points
      1,237
  • 9

    SlurrerOfSpeech

    A PF Atom
    • Messages
      141
    • Reaction score
      11
    • Points
      38
  • 2

    Hornbein

    A PF Organism
    • Messages
      2,071
    • Reaction score
      1,694
    • Points
      198
  • 2

    Geeniey

    A PF Quark
    • Messages
      13
    • Reaction score
      0
    • Points
      1
  • 1

    secondprime

    A PF Atom
    • Messages
      49
    • Reaction score
      0
    • Points
      31
  • 1

    Pi Face

    A PF Atom
    • Messages
      76
    • Reaction score
      0
    • Points
      31
  • 1

    Xari

    A PF Quark
    • Messages
      3
    • Reaction score
      0
    • Points
      1
  • 1

    LLSM

    A PF Atom
    • Messages
      5
    • Reaction score
      1
    • Points
      33
  • 1

    wololo

    A PF Electron
    • Messages
      27
    • Reaction score
      0
    • Points
      11
  • 1

    ian_dsouza

    A PF Atom
    • Messages
      48
    • Reaction score
      3
    • Points
      33
  • 1

    RaamGeneral

    A PF Molecule
    • Messages
      50
    • Reaction score
      1
    • Points
      58
  • 1

    Avatrin

    A PF Molecule From Norway
    • Messages
      245
    • Reaction score
      6
    • Points
      96
  • 1

    Uriel

    A PF Atom
    • Messages
      16
    • Reaction score
      0
    • Points
      34
  • 1

    doktorwho

    A PF Electron
    • Messages
      181
    • Reaction score
      6
    • Points
      17
  • 1

    gruba

    A PF Electron
    • Messages
      206
    • Reaction score
      1
    • Points
      16
  • 1

    valesdn

    A PF Atom
    • Messages
      42
    • Reaction score
      1
    • Points
      39
  • 1

    Jamison Lahman

    A PF Electron From Athens, Ohio
    • Messages
      143
    • Reaction score
      35
    • Points
      22
  • 1

    matineesuxxx

    A PF Molecule
    • Messages
      77
    • Reaction score
      6
    • Points
      58
  • 1

    Jerrynap

    A PF Atom
    • Messages
      8
    • Reaction score
      0
    • Points
      31
  • 1

    22990atinesh

    A PF Electron From India
    • Messages
      143
    • Reaction score
      1
    • Points
      19
  • Back
    Top