A set of instructions for solving a problem, especially on a computer. An algorithm for finding your total grocery bill, for example, would direct you to add up the costs of individual items to find the total.
algorithm al·go·rithm (āl'gə-rĭ&phonth;'əm)
n.
A step-by-step protocol, as for management of health care problems.