Function with arguments, that returns a value

This example calls a function which performs a calculation, and returns the result: