I had the same problem last week, it ended up being my monitor interfering with my speakers somehow.. Are you able to track down exactly where the sound is coming from?
The whine may also be coming from the graphics card (if one installed) - using a paper towel tube to listen through may help isolate the source of the whine