Being n the number of points (If n = 3 there would be 3 points: A, B and C). The distance between each pair of points increases progressively twice, starting with points A and B.

Given n as an integer greater than 1 and x as the distance between the last pair of points (D and E in figure).
Find the distance between the first and last points y.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers42
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
52713 Solvers
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15780 Solvers
-
Change the sign of even index entries of the reversed vector
643 Solvers
-
5878 Solvers
-
204 Solvers
More from this Author2
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!