Answer:
An algorithm is a set of instructions for the nonprogrammer among us, taking an input, A, and giving an output, B, which in some way modifies the data involved. A vast array of applications exist for algorithms. In math they can help to calculate functions between much more complicated things from points in a data collection.
Step-by-step explanation: