pi
所属分类:数学计算
开发工具:Visual C++
文件大小:2KB
下载次数:18
上传日期:2008-06-29 16:50:37
上 传 者:
yukun2005
说明: 刚才传错了……这个才是采用蒙特卡罗法计算pi的近似值的源程序。方法是随机产生二维0~1之间的均匀分布数据点,计算落在单位圆内的点与总点数之比就是pi的近似值
(Chuan just wrong ... ... this is the Monte Carlo method to calculate pi approximation of the source. Is randomly generated from 0 to 1 between two-dimensional uniformly distributed data points, the calculation falls within the unit circle with the ratio of the total points is the approximation of pi)
文件列表:
montecarlo.dsp (3449, 2008-04-13)
montecarlo.dsw (543, 2008-04-13)
montecarlo.cpp (585, 2008-04-01)
近期下载者:
相关文件:
收藏者: