搜索资源列表
montecarlo
- 用蒙特卡洛方法计算pi的值,通过计算落在单位圆内的点与正方形内的点数之比计算pi
pi
- 该程序是vb.net编写的 通过公式计算圆周率π的值,在一定的取值范围内变量取值越大,π越精确
Pi
- 一个计算pi值的小程序,可以精确到1000位,测试通过-a tool to born pi
bufeng
- C语言实现模拟布丰投针实验,并通过概率论理论计算出实验推得的圆周率值-C language for simulation of Buffon needle experiments, and probability theory to calculate the experimental push the value of pi
PI
- 计算PI的值有各种各样 ,看看这个算法是不是很简洁呢-Calculated PI values are varied, to see if this algorithm is not very simple and does
pi
- 别人写的代码,传上来共享,多线程计算pi值。虽然简单,但是很典型~-compute pi with multithread program
PI_thread
- 用四个线程计算PI的值,且每个线程只会执行一次-PI calculated using the value of the four threads and each thread will only be executed once
Random_Number
- 随机数的产生及用蒙特卡洛方法计算圆周率的值和e的值-production of random numbers in the interval [0,1], and use the method of Monte-Carlo to calculate PI and e.
countingofPI
- 在VC++下计算PI的精确值,能计算到1万位后-In VC++ under the exact calculation of PI values could be calculated to 10 000 after
examples
- 并行计算PI值的一个小程序,利用循环,精确计算PI值,循环次数越多,PI值计算的结果越精确-PI values of parallel computing in a small program, using cycle accurate calculation of PI values, the more cycles, PI value the more accurate the results
1
- 随机性算法。通过模拟投点法,计算无限不循环小数Pi的值,并比较投掷不同次数时值的精确程度。-Random algorithm. Through the simulation stage investment, calculate the value of Pi unlimited non-recurring decimal, and to compare the number of a time when throwing different degree of precision.
buffonexperiment
- 实现了布丰投针实验的演示,有简单的动画演示,能在用户界面上输入平行线间距,投针的针长,投针次数,并能输出针与任一平行线相交的概率,以及根据此概率和平行线间距,针长计算出的pi值-Buffon needle experiment realized investment presentation, there is a simple animation, can be entered in the user interface on the parallel line spacing, cast a
PI
- 可以计算圆周率PI的值,并显示计算的时间,还能选择圆周率的位数-Can calculate the value of pi PI, and shows the calculation of time, can choose the number of bits pi
PI
- 多线程计算pi的值,可以在程序开头更改线程数和N的值-Multi-threaded computing the value of pi, you can change the number of threads and the value of N at the beginning of the program
Erlang_pi
- Erlang实现蒙特卡洛方法求圆周率,试用不同的运算规模,观察计算出的结果与真实π值的差异。-Monte Carlo methods seek to achieve Erlang pi, try different computing scale, observed differences in the results calculated with the true value of π.
examples
- 并行计算PI值的一个小程序,利用循环,精确计算PI值,循环次数越多,PI值计算的结果越精确-PI values of parallel computing in a small program, using cycle accurate calculation of PI values, the more cycles, PI value the more accurate the results
pi 计算
- 大家都知道π=3.1415926……无穷多位, 历史上很多人都在计算这个数, 一直认为是一个非常复杂的问题。现在有了电脑, 这个问题就简单了。 电脑可以利用级数计算出很多高精度的值, 有关级数的问题请参考《高等数学》
Shape_Monte_Carlo
- 利用蒙特卡洛模拟投点的方式,画圆并在圆中计算pi的值(calculate the value of pi by using Monte_Carlo)
PI
- 编写程序计算 PI 值 要求: ① 采用至少两种 线程分配方法; ② 使用时间函数统计每个线程的计算时间,对比分析哪种分配方法更优; ③ 程序调试及运行,输出运行结果。(Write programs to calculate PI values Requirements: 1.Use at least two kinds of thread allocation methods; 2.Use time function to calculate the computation ti
PI
- 用一种简单精确的算法计算π值,最高可精确到小数点后5000位,可用于快捷获取π的精确值(Using a simple and accurate algorithm to calculate the pI value, the highest accuracy can be reached to 5000 bits after the decimal point, which can be used to get the precise value of PI quickly)