An introduction into (user-defined) functions in Mathematica. I cover how to define, call, get help on and clear functions.
Suggested research:
Are there any interesting built-in functions within Mathematica?
How are optional arguments handled in Mathematica?
How can I execute the function for each element in an array (how to map a function)?