摘要
用Java程序计算圆内随机点的点数与正方形内随机点数之比,得到正方形和其内切圆的面积比,计算出圆周率。
AWith Java program computation stochastic points in circular domain and square ratio of the stochastic points, this paper obtainz the square and its inscribed circle area ratio, and calculates the ratio of the circumference of a circle to its diameter.
出处
《南通职业大学学报》
2005年第4期61-62,96,共3页
Journal of Nantong Vocational University
关键词
MONTE
CARLO方法
大数定理
JAVA
圆周率
Random simulation
Law of great numbers
Java
ratio of the circumference of a cirele .