Problem 45536. Distance Between Points
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.
![](http://imgfz.com/i/XUJEt6w.png)
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 commentsProblem Recent Solvers39
Suggested Problems
-
1188 Solvers
-
Convert from Base 10 to base 5
258 Solvers
-
Replace multiples of 5 with NaN
438 Solvers
-
448 Solvers
-
Create vector as shown in test cases
241 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!