Sum of series VIII - MATLAB Cody - MATLAB Central

Problem 50987. Sum of series VIII

Difficulty:Rate
What is the sum of the following sequence:
y = Σ 1/(2^k) for k=1...n
for different n?

Solution Stats

65.41% Correct | 34.59% Incorrect
Last Solution submitted on Jun 26, 2025

Problem Comments

Solution Comments

Show comments
Why should you share code?
In a discussion on LInkedin about my recent blog post, Do these...
1
2

Problem Recent Solvers1062

Suggested Problems

More from this Author12

Problem Tags

n

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!