Assignment 2

Due Date : 9/25 @ 11:59pm

Note

For each function that you design you are expected to follow the Design Recipe in the same way as we did in class. Failure to show all your work for each step will cost you points.

Problems from "How to Design Programs"

Problem 1

Formulate the formulas from Problems 2 and 3 on Assignment 1 as BSL programs. Then apply the strategy of HtDP problem 4.2.4 to formulate automatic tests for these two programs (using check-expect instead of =). Make sure to turn at least two examples from your table into tests.