Algorithm

Definition: 

A process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer.