結果 : how to integrate a vector function