COSMOS Summer 2006
Lab Exercise #4 Solutions
Solutions
I've written the solutions to these programs using functions, similarly to how we did in lecture on Friday, July 21. The comments in the program are written in such a way that they assume that you've read the programs in the order that they're presented here; in other words, the comments in Version 2 of Program 2 assume that you've read the comments in both versions of Program 1 and in the first version of Program 2.
Also, I've provided a fixed version of the AlexDNA file from Lab 4: