Algorithms

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
  • 124

    Greg Bernhardt

    A PF Singularity From USA
    • Messages
      19,447
    • Media
      227
    • Reaction score
      10,037
    • Points
      1,237
  • 2

    mooncrater

    A PF Electron 26 From India
    • Messages
      217
    • Reaction score
      18
    • Points
      18
  • 2

    nrobidoux

    A PF Molecule
    • Messages
      25
    • Reaction score
      0
    • Points
      61
  • 1

    vr0nvr0n

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

    Robert Sacamano

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

    kjsisco

    A PF Quark
    • Messages
      4
    • Reaction score
      2
    • Points
      4
  • 1

    Enharmonics

    A PF Electron
    • Messages
      29
    • Reaction score
      2
    • Points
      11
  • 1

    WhatHitMe

    A PF Quark
    • Messages
      6
    • Reaction score
      1
    • Points
      1
  • 1

    MattS134

    A PF Quark
    • Messages
      2
    • Reaction score
      0
    • Points
      4
  • 1

    x86

    A PF Molecule
    • Messages
      256
    • Reaction score
      18
    • Points
      98
  • 1

    enigmatic01

    A PF Quark
    • Messages
      8
    • Reaction score
      1
    • Points
      4
  • 1

    maistral

    A PF Molecule
    • Messages
      240
    • Reaction score
      17
    • Points
      93
  • 1

    bacte2013

    A PF Atom
    • Messages
      398
    • Reaction score
      47
    • Points
      28
  • 1

    Monsterboy

    A PF Cell From Earth
    • Messages
      303
    • Reaction score
      96
    • Points
      116
  • 1

    Domenico94

    A PF Atom 29 From Italy
    • Messages
      130
    • Reaction score
      6
    • Points
      40
  • 1

    Kartik Yadav

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

    username_unknown

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

    SlurrerOfSpeech

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

    benarceneaux

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

    n+1

    A PF Atom
    • Messages
      13
    • Reaction score
      0
    • Points
      31
  • Back
    Top