algorithm

a step-by-step procedure for calculations/solving a problem.