2. Writing and Plotting Functions
Now we learn to write functions in Function form: what we wrote in the last section was a raw script.
a = a + 2 is a function. It consists of an input and an output and may be written as a script (as in the last section) or in function form. The…