solutions for final exam fall 2004 414245