遗忘海岸

江湖程序员 -Feiph(LM战士)

导航

2016年10月8日 #

Monte Carlo 数值积分

摘要: var amount = 0.0d; var hitTheTargetCount = 0.0d; var M = 2.0d; var rnd=new Random(); for (int i = 0; i < 1000; i++) { var x = rnd.NextDouble() * Math. 阅读全文

posted @ 2016-10-08 16:11 遗忘海岸 阅读(382) 评论(0) 推荐(0) 编辑