正方形直线选取是在一个正方形内随机放置的点对(对应于线段的端点)的选择。 条随机线段可以在单位正方形中用 Wolfram 语言使用以下函数选取RandomPoint[Rectangle[], n, 2].
从单位正方形内部随机选取两个点,它们之间的平均距离是超立方体直线选取的 情况,即,
(OEIS A091505)。
精确的概率函数由下式给出
|
(4)
|
(M. Trott,私人通讯,3 月 11 日,2004 年),相应的分布函数由下式给出
|
(5)
|
由此,可以计算平均距离 ,以及长度的方差,
统计中位数由四次方程的根给出
|
(8)
|
大约为 。
第 阶原点矩对于 , 4, 6, ... 给出为 1/3, 17/90, 29/210, 187/1575, 239/207, ... (OEIS A103304 和 A103305)。
如果不是从正方形内部选取两个点,而是在单位正方形不同边上随机选择两个点,则以这种方式选取的两个点之间的平均距离为
(OEIS A091506; Borwein 和 Bailey 2003, p. 25; Borwein et al. 2004, p. 66)。
另请参阅
盒积分,
立方体直线选取,
圆盘直线选取,
超立方体直线选取,
正方形点选取,
正方形三角形选取,
三角形直线选取,
三角形点选取
使用 Wolfram|Alpha 探索
参考文献
Bailey, D. H.; Borwein, J. M.; Kapoor, V.; 和 Weisstein, E. W. "Ten Problems in Experimental Mathematics." Amer. Math. Monthly 113, 481-509, 2006b.Borwein, J. 和 Bailey, D. Mathematics by Experiment: Plausible Reasoning in the 21st Century. Wellesley, MA: A K Peters, 2003.Borwein, J.; Bailey, D.; 和 Girgensohn, R. Experimentation in Mathematics: Computational Paths to Discovery. Wellesley, MA: A K Peters, 2004.Sheng, T. .K. "The Distance between Two Random Points in Plane Regions." Adv. Appl. Prob. 17, 748-773, 1985.Sloane, N. J. A. 序列 A091505, A091506, A103304, 和 A103305,出自 "整数序列在线百科全书"。Trott, M. "The Mathematica Guidebooks Additional Material: Average Distance Distribution." http://www.mathematicaguidebooks.org/additions.shtml#S_1_14.在 Wolfram|Alpha 中被引用
正方形直线选取
请引用为
Weisstein, Eric W. "正方形直线选取。" 出自 MathWorld--Wolfram Web 资源。 https://mathworld.net.cn/SquareLinePicking.html
主题分类