In lecture on Monday, recursion was introduced, including the following topics:
- the general notion of recursion & recursive functions
- fractals (self similar images) and how recursive functions can draw fractals
- math operations/series/sequences based on recursion
Here are the lecture notes.
Here are the various circle fractal programs we looked at:
and the factorial math program we looked at: Recursive Factorial and output that it generates (showing how it works behind the scenes): factorial2Outputs.txt