C言語のプログラム例をのせておきます。
4次のルンゲ=クッタ法 (Runge=Kutta method)
ルンゲ=クッタ=ギル法 (Runge=Kutta=Gill method)
πの出し方 (モンテカルロ法)
πの出し方 (??法)