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

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

댓글 수: 1

Looks like homework.
What is the difficulty in solving this yourself?

답변 (2개)

Azzi Abdelmalek
Azzi Abdelmalek 2015년 1월 19일

0 개 추천

47*sum(0:555)

댓글 수: 2

Azzi, its not working.
What does that mean? how it's not working?
David Sanchez
David Sanchez 2015년 1월 19일

0 개 추천

% sum of the first 556 multiples of 47?
the_multiples = 47*(1:556);
the_sum = sum(the_multiples);

이 질문은 마감되었습니다.

태그

질문:

2015년 1월 19일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by