6.5 Writing Mathematical Functions¶
- A function is commonly defined to compute a mathematical calculation involving several numerical parameters and returning a numerical result
Calling functions in expressions¶
- A function call often appears within an expression:
Modular functions for mathematical expressions¶
- Modularity allows more complex functions to incorporate simpler functions.
- Complex mathematical functions often call other mathematical functions.