文件名称:shuxuejianmo_6
介绍说明--下载内容来自于网络,使用问题请自行百度
(蒙特卡洛方法)
求出四分之一圆占正方形的比例。随机投点P(x,y)于正方形,π/4的近似值为落在四分之一圆内的点数与总投点数的比值。随机投点次数分别为10000次和50000次,计算π的近似值。
-(Monte Carlo method) are obtained accounting for a quarter of a round square ratio. Voted random point P (x, y) in the square, π/4 for the fall quarter of the approximation of the points won and the ratio of the total vote points. The number of random points, respectively, voted for the 10000 and 50000 times, the calculation of the approximation of π.
求出四分之一圆占正方形的比例。随机投点P(x,y)于正方形,π/4的近似值为落在四分之一圆内的点数与总投点数的比值。随机投点次数分别为10000次和50000次,计算π的近似值。
-(Monte Carlo method) are obtained accounting for a quarter of a round square ratio. Voted random point P (x, y) in the square, π/4 for the fall quarter of the approximation of the points won and the ratio of the total vote points. The number of random points, respectively, voted for the 10000 and 50000 times, the calculation of the approximation of π.
相关搜索: shuxuejianmo_6
蒙特卡洛
(系统自动生成,下载前可以参看下载内容)
下载文件列表
shuxuejianmo_6.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.