圖片參考:http://img441.imageshack.us/img441/227/screenhunter08apr262011.png
更新1:
Sorry your part b solution is wrong. By the way, there is a beautiful solution in part b without directly evaluating a1,a2,a3,...a8.
更新2:
I mean your ans.*