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