■解析入門■
■例 3.17 ガンマ関数 (p.82)■
e^(-x) x^(p-1) の区間 (0,∞) における広義積分
Mathematica プログラム例
- f[p_,x_]:=E^(-x) x^(p-1)
- Plot[f[0,x],{x,0,5}]
- Plot[f[1,x],{x,0,5}]
- Plot[f[2,x],{x,0,5}]
- Plot[f[3,x],{x,0,5}]
- Plot3D[f[p,x],{p,0,3},{x,0.01,5}, PlotRange -> {0,2}]
- g[p_]:=Integrate[f[p,x],{x,0,∞}]
- Plot[g[p],{p,0,5}]
- Plot[Gamma[p],{p,-5,5}]
計算結果