Equation or algorithm: differences and choosing between them.

Equation or algorithm: differences and choosing between them.