数値積分を実行する ref: http://qiita.com/termoshtt/items/345ff1a2e862accd0230