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 Solvers69
Suggested Problems
-
Project Euler: Problem 3, Largest prime factor
1777 Solvers
-
Matrix indexing with two vectors of indices
768 Solvers
-
Find the index of n in magic(n)
268 Solvers
-
Find the area of the four walls
289 Solvers
-
225 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!