結果 : cost function graphical representation