Implementation of a mathematical function in code.