Pick two points at random from the interior of a unit square, what is the expected distance between them?
2013-09-30 21:30
603 查看
My solution is as folllowing.
This integration is hard to solve. I googled it, and found the result is 1/3*ln(1+sqrt(2)) + 1/15*(2+sqrt(2)) = 0.52140543..
please see the link below.
http://mathworld.wolfram.com/SquareLinePicking.html
http://www.stat.columbia.edu/~liam/teaching/4109-fall10/chapter4.pdf
This integration is hard to solve. I googled it, and found the result is 1/3*ln(1+sqrt(2)) + 1/15*(2+sqrt(2)) = 0.52140543..
please see the link below.
http://mathworld.wolfram.com/SquareLinePicking.html
http://www.stat.columbia.edu/~liam/teaching/4109-fall10/chapter4.pdf
相关文章推荐
- ReactJs 报错 Element type is invalid: expected a string (from built-in components) or a class/function (for composite components) but got: undefined. Check the render method of `Me`.
- What is the difference between a pack slip and a pick slip?
- What is the difference between a pack slip and a pick slip?
- 16.Checkpoint!: Adding checkpoints to the racing scenario by looking at the intersection of two line
- What is the difference between a pack slip and a pick slip?
- 计算两点间的距离 Calculating the Distance Between Two Points
- What is the difference between initWithCoder:, initWithNibName:, and awakeFromNib?
- What is the difference between initWithCoder:, initWithNibName:, and awakeFromNib?
- FAT file system-What are the two reserved clusters at the start of the FAT for?
- What is the difference between SVD and matrix factorization in context of recommendation engine?
- What is the relationship between the From, Contact, Via and Record-Route/Route headers?
- Android – Distance between two points on the Earth
- LeetCode461 Hamming Distance java The Hamming distance between two integers is the number osoluotion
- android.util.AndroidRuntimeException Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want? com.uethinking.microvideo.manag
- just of bright mans is two people of the eyebrows from this through
- Question 30: What is the order of destructor calls for an object of class Y inherited from class X that has an object of class A
- What is an intuitive explanation of the relation between PCA and SVD?
- Is it possible to get the difference from two dynamic arrays regardless of their order?
- Given the array of digits (0 is also allowed), what is the minimal sum of two integers that are made
- Multi-thread: What is the difference between OpenMP and MPI