clear; // *** 関数の定義 *** // 関数f(x) deff('y = f(x)','y = exp(- x .^ 2)'); n = 1000; m = 1200; histplot(100,mean(f(rand(m,n)),'c'));