SOLUTION: I want to generate a path of exactly fifty 1-foot steps on an XY plane. The path is to begin at (0,0) and end at exactly (25,0). Both of the axes are in feet. Each of the 1-

Algebra ->  Length-and-distance -> SOLUTION: I want to generate a path of exactly fifty 1-foot steps on an XY plane. The path is to begin at (0,0) and end at exactly (25,0). Both of the axes are in feet. Each of the 1-      Log On


   



Question 1046078: I want to generate a path of exactly fifty 1-foot steps on an XY plane.
The path is to begin at (0,0) and end at exactly (25,0). Both of the
axes are in feet. Each of the 1-foot steps is in a uniform random XY
direction (limited by the requirement that the sum of the lengths of
each step projected onto the X-axis must be exactly 25 feet).
I'm stumped as to how to do that. I hope that someone can help!

Answer by ewatrrr(24785) About Me  (Show Source):
You can put this solution on YOUR website!
Thinking of the path being two sides of an Equilateral Triangle(25 a side) would work:
.
Altitude is 12.5 √3
Walking to p(25,0) either taking top or bottom path
Walking towards P(12.5, 12.5 √3) first or P(12.5 ,-12.5 √3)first