Math, asked by ludirm7441, 11 months ago

Write the algorithm to find the sum of series ; 1+2+3+4+..... Upto n terms

Answers

Answered by assassin1111111
6
The algorithm to find the sum of the series;
1+2+3+4+....+Upto n terms is as follows :-

n(n+1)
————
2

Hope this answer helps you mate.

Please mark me as the brainliest one.

Thank you.

Answered by slicergiza
2

Answer:

\frac{n(n+1)}{2}

Step-by-step explanation:

Given series,

1 + 2 + 3 + 4 + 5........ up to n terms,

Which is an AP,

Having first term, a = 1,

Common difference, d = 1,

Since, sum of an AP,

S_{n}=\frac{n}{2}(2a+(n-1)d)

=\frac{n}{2}(2+(n-1))=\frac{n(n+1)}{2}

Which is the required expression.

Similar questions