Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

I don't understand algorithms.Can someone give me a example of a simple algorithm?

Asked by 7 years ago

I don't understand can someone help me? Please keep it simple as I'm not a advanced scripter.

0
Try this! https://en.wikipedia.org/wiki/Linear_interpolation - This one is fun to use. AZDev 590 — 7y

1 answer

Log in to vote
0
Answered by 7 years ago
Edited 7 years ago

An algorithm is simply just a string of calculations that can have numbers inputted at certain locations. Most algebra equations are algorithms. But you are most likely talking about complex algorithms.

Here are some algorithm examples:

Ant colony optimization algorithms, Cooley–Tukey FFT algorithm, Euclidean algorithm, Linear interpolation, and The Stony Brook Algorithm Repository.

A simple algorithm could be:

x = 2
y = 12
algorithm = (x*y)/3
print(algorithm)

As you can see an algorithm can be so simple that we classify it as an algebraic equation.

Ad

Answer this question