Thread: å|gö®îtHm

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    6

    Question å|gö®îtHm

    I don't know what the hell Algorithm is..
    I always here people talking about it... It sound like some REALLY complicated mathematical term.. but I dunno.
    If you could be bothered give me your best definition

  2. #2
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,743
    An algorithm is any mathematical equation.

    E = mc^2 is an algorithm which uses m and c to find E.
    5+5 is even an algorithm, even though that is not what is usually referred to by the word algorithm.
    An algorithm is just a mathematical process to find an answer.

    The bubble sort is an algorithm.
    Fibbonaci is an algorithm.
    y = x + 2 is an algorithm.

    Algorithms are all over the place.
    My Website

    "Circular logic is good because it is."

  3. #3
    Registered User
    Join Date
    Oct 2001
    Posts
    6
    ahh thanks.. I've been doing them all along.. just didn't know the terminology i s'pose...

    I feel REALLY stupid right now... :P

  4. #4
    Blank
    Join Date
    Aug 2001
    Posts
    1,034
    An algorithm is a well defined sequence of steps in order to achieve a goal.

    Giving a mathematical function
    f(x) = sqrt(x)
    This is not a algorithm as it suggest no way to calculate
    the square root.

  5. #5
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912

    From a programming perspective

    From a programming perspective, and algorithm is simply the way you deal with data to solve your problem.

Popular pages Recent additions subscribe to a feed