搜索资源列表
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