Sum of first n terms of a harmonic progression - MATLAB Cody - MATLAB Central

Problem 566. Sum of first n terms of a harmonic progression

Difficulty:Rate
Given inputs a, d and n, return the sum of the first n terms of the harmonic progression a, a/(1+d), a/(1+2d), a/(1+3d),....

Solution Stats

31.24% Correct | 68.76% Incorrect
Last Solution submitted on May 15, 2025

Problem Comments

Solution Comments

Show comments
PIVlab surpasses 100K all-time File Exchange downloads
During the past twelve months, PIVlab, a MATLAB Community Toolbox for particle...
4
8

Problem Recent Solvers454

Suggested Problems

More from this Author1

Community Treasure Hunt

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

Start Hunting!