TeachScheme 1998: Wednesday
TeachScheme! 1998
Wednesday
Morning:
- Lists of arbitrary length:
sum, length
- Designing programs for lists: recursive data requires recursive programs
- Natural numbers are recursive:
factorial, triangle
Lab Session:
- Designing list-processing programs
- Designing nat-num-processing programs
- Designing programs that produce lists
Details
Afternoon:
- Sequences and series: algebraic, geometric, Taylor, ...
Lab Session:
- Playing with a "visual" geometric series
- Alternative: Implement "protect the wall"
Details