登录
首页 » matlab » pi_method1

pi_method1

于 2013-04-29 发布 文件大小:1KB
0 154
下载积分: 1 下载次数: 3

代码说明:

  Estimated number of Pi ( Method 1) how do we estimate Pi by simulation? In the simulation, you keep throwing darts at random onto the dartboard. All of the darts fall within the square, but not all of them fall within the circle. Here s the key. If you throw darts completely at random, this experiment estimate the ratio of the area of the circle to the area of the square, by counting the number of darts in each. Our study of the geometry tells us this ratio is Pi/4. So, now we can estimate Pi as

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论


0 个回复

  • mdcm
    经典的直流电机双闭环调速系统模型,可用于仿真(The classic double-loop DC motor speed control system models can be used for simulation)
    2020-11-30 22:09:28下载
    积分:1
  • icalab
    ICA:独立分量分析,基于MATLAB语言(ICA : Independent component analysis, based on MATLAB)
    2007-06-18 13:13:29下载
    积分:1
  • Matlab-heart-graph
    用Matlab绘制心形图形的程序,图形很漂亮哦(Matlab draw heart-shaped graphics program, graphics is very beautiful, oh )
    2014-08-18 16:34:00下载
    积分:1
  • chi2test
    H = CHILD returns the handle to a new CHILD or the handle to the existing singleton*. CHILD( CALLBACK ,hObject,eventData,handles,...) calls the local function named CALLBACK in CHILD.M with the given input arguments. CHILD( Property , Value ,...) creates a new CHILD or raise
    2012-08-05 19:33:14下载
    积分:1
  • MATLAB-for-hillSAA
    共有5个m文件,用于求解旅行商问题,可动态显示求解最优路径过程,且有代码详细注释,对初学者尤为适用。(A total of 5 m file, used to solve the traveling salesman problem, you can solve the optimal path dynamically display process, and there is code detailed notes, particularly suitable for beginners.)
    2014-11-27 10:19:27下载
    积分:1
  • MT1D_forward_jiexi
    地球物理大地电磁测深一维正演,是求解析解(magnetotelluric 1D forward)
    2020-11-24 13:59:33下载
    积分:1
  • H2
    说明:  hslogic算法仿真,基于matlab的H无穷控制器的设计。可以获得较好的控制效果(Hslogic algorithm simulation, the design of H infinite controller based on MATLAB. Good control effect can be obtained)
    2020-01-17 13:50:07下载
    积分:1
  • matlab_shujutongjifenxi
    数据统计分析功能多个例子在matlaB中的实现,压缩包里面包含讲义和源代码。(Data statistical analysis function number of examples in MATLAB to achieve compression package contains the lecture notes and source code.)
    2012-05-08 10:46:46下载
    积分:1
  • gibbs
    吉布斯定轨法。 输入:轨道上任意三个点的位矢(R1,R2,R3); 输出:质点在R2端点时的速度V2;ierr是个判断符号,返回的ierr是零的话,就说明‘R1,R2,R3’共面,如果ierr是1的话说明‘R1,R2,R3’不共面(正常情 况下,要构成轨道的话,‘R1,R2,R3’一定共面 ,即ierr是零,如果ierr是1的话说明输入的‘R1,R2,R3’不共面不能构成轨道。 此函数用于:任意给定三个空间共面的向量,可以确定质点在R2处的速度V2,也就得到了轨道上的一个状态向量(R2,V2),调用前面的函数就可以确定其轨道,及任意时刻的状态。(Gibbs set the track method. Input: track any three points of the bit vector (R1, R2, R3) output: particle at R2 endpoint speed V2, ierr is a judgment symbol, The ierr that is returned is zero, then, it means' of R1, R2,, R3, ' coplanar, if ierr is 1, then description' of R1, R2,, R3, ' not a total surface (under normal circumstances, you want to constitute a track, then,' of R1, R2, R3, ' a certain total surface, ierr is zero, if ierr is an instructions to enter the words ' of R1, R2, R3' coplanarity can not constitute a track. This function is used: for any given three space vector of the surface, can determine the particle at the speed V2, R2 also track a state vector (R2, V2), call the previous function can determine its orbit, and at any time of the state.)
    2012-07-22 22:17:35下载
    积分:1
  • matlab
    matlab 教程 简明的matlab的ppt经典教程 (matlab tutorials matlab concise tutorial in ppt Classic)
    2010-01-20 14:13:57下载
    积分:1
  • 696518资源总数
  • 105315会员总数
  • 6今日下载