更改

跳到导航 跳到搜索
添加2字节 、 2021年8月1日 (日) 10:36
无编辑摘要
第33行: 第33行:  
Monte Carlo methods vary, but tend to follow a particular pattern:
 
Monte Carlo methods vary, but tend to follow a particular pattern:
   −
蒙特卡罗方法各不相同,但趋向于遵循一个特定的模式:
+
蒙特卡罗方法各不相同,但趋于遵循一个特定的模式:
    
# Define a domain of possible inputs
 
# Define a domain of possible inputs
第57行: 第57行:  
  Aggregate the results
 
  Aggregate the results
   −
4、汇总结果[[File:Pi 30K.gif|thumb|right| Monte Carlo method applied to approximating the value of {{pi}}.|链接=Special:FilePath/Pi_30K.gif]]
+
4、汇总结果[[File:Pi 30K.gif|thumb|right| Monte Carlo method applied to approximating the value of {{pi}}.
 +
 
 +
蒙特卡罗方法应用于估计π值。|链接=Special:FilePath/Pi_30K.gif]]
    
  Monte Carlo method applied to approximating the value of .
 
  Monte Carlo method applied to approximating the value of .
  −
蒙特卡罗方法应用于估计。
      
For example, consider a quadrant (circular sector) inscribed in a unit square. Given that the ratio of their areas is π/4, the value of π can be approximated using a Monte Carlo method:<ref name=":9">Kalos, Malvin H.; Whitlock, Paula A. (2008). ''Monte Carlo Methods''. Wiley-VCH. ISBN <bdi>978-3-527-40760-6</bdi>.</ref>
 
For example, consider a quadrant (circular sector) inscribed in a unit square. Given that the ratio of their areas is π/4, the value of π can be approximated using a Monte Carlo method:<ref name=":9">Kalos, Malvin H.; Whitlock, Paula A. (2008). ''Monte Carlo Methods''. Wiley-VCH. ISBN <bdi>978-3-527-40760-6</bdi>.</ref>
596

个编辑

导航菜单