I never thought I'd get to show this proggie off, but this is an appropriate place. I did it when we were talking about electro magnetic radiation in chemistry.

oh and sebastanti your program just closes when I go to run it so I have no clue what you actually did in your program