COSC 071
Project 1 Design

Algorithm

Variables

There will be three types of variables

Algorithm

Please note that the algorithm presented is less detailed than I would expect from your submissions. This is to ensure that programming of the solution remains reasonable challenging.

Testing

The only values that we know for sure are the given maximum, minimum, and peaks. To test it, the program should be run repeatedly to make sure that maximums occur where they should, minimums occur where they should, and that the shape of the output function for each input (tested independantly while others are at max) is correct.