December 2008
Intermediate to advanced
408 pages
9h 43m
English
Even though Mathematica comes with thousands of predefined functions, it is extremely important to know how to define our own functions. While a simple function might be defined in a single line of code, more complicated functions might take dozens of lines assembled together in a Module. In this chapter we’ll see how to define our own functions. We’ll also learn the basics of elementary programming which can be used to turn any mathematical algorithm into a working Mathematica function.
Sometimes we may be using the same function over and over again and it can be handy to give the function a name. For example, suppose we were computing things related to home mortgages and repeatedly found ourselves computing ...
Read now
Unlock full access