Well I finished one of my spring semester assignments today. My astronomy program seems to finally be functional and relatively immune to user errors. It is really exciting too: it calculates the amount of iron dust in a cloud, and also how much error is likely. Yeah, it SOUNDS easy, but it wasn't.
Annoyed of having to continuously think up array names, my program eventually degenerated into such lovely code as:
barf = shmu + grottier
barf(where(barf ge 1.0)) = 0.99999
plusgrotty = alog10(alog(1.0/(barf))) + 0.612 + 14.576
where grotty was the term I used for calculating error. If you know any programming, you will know how icky the above code is, but it was the teacher-approved way of avoiding trying to take the log of a negative number.
So now all I have to do is write another program, finish my geo paper, take my sed-strat final, and read up on Trans-Neptunian objects by next Friday. Eh, it will be do-able I think.
Huzzah for www.somethingpositive.net
(I am just kidding, btw)