Write some code that computes the average distance between two random points on different sides of a square that has a side length of 1. (Ans: 0.869...) (Ref: http://mathworld.wolfram.com/SquareLinePicking.html.)← Back to challenges | Lessons Type your code here: Run Share Lua reference See your results here: Share your code × Show a friend, family member, or teacher what you've done! Here is a share link to your code: