Problem 44155. Geometric Series
Given x and n, give the sum of x ^ 1 to x ^ n. You should not have to use a loop for this.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers64
Suggested Problems
-
All your base are belong to us
532 Solvers
-
Check if number exists in vector
11053 Solvers
-
1280 Solvers
-
Find the index of n in magic(n)
234 Solvers
-
192 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!