Functions¶
Functions are formulas that take a given input, to produce an output from. They are represented in the form: name(inputs...) = output.
Contents¶
Example¶
An example function might be f(x) = 5x + 6. Given this example f(2) would equal 16.
\begin{align}
f(x) & = 5x + 6 \\
& = 5(2) + 6 \\
& = 10 + 6 \\
& = 16
\end{align}
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Mozilla Public License 2.0.