Info

This question is closed. Reopen it to edit or answer.

What's the sum of the first 556 multiples of 47

1 view (last 30 days)
Kamini Sewda
Kamini Sewda on 19 Jan 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
What's the sum of the first 556 multiples of 47?
  1 Comment
Guillaume
Guillaume on 19 Jan 2015
Looks like homework.
What is the difficulty in solving this yourself?

Answers (2)

Azzi Abdelmalek
Azzi Abdelmalek on 19 Jan 2015
47*sum(0:555)

David Sanchez
David Sanchez on 19 Jan 2015
% sum of the first 556 multiples of 47?
the_multiples = 47*(1:556);
the_sum = sum(the_multiples);

This question is closed.

Tags

Community Treasure Hunt

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

Start Hunting!