Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

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

1 Ansicht (letzte 30 Tage)
Kamini Sewda
Kamini Sewda am 19 Jan. 2015
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
What's the sum of the first 556 multiples of 47?
  1 Kommentar
Guillaume
Guillaume am 19 Jan. 2015
Looks like homework.
What is the difficulty in solving this yourself?

Antworten (2)

Azzi Abdelmalek
Azzi Abdelmalek am 19 Jan. 2015
47*sum(0:555)
  2 Kommentare
Kamini Sewda
Kamini Sewda am 19 Jan. 2015
Azzi, its not working.
Azzi Abdelmalek
Azzi Abdelmalek am 19 Jan. 2015
What does that mean? how it's not working?

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

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by