write a programt print the sum of the series s=1-2+3+4+5+6+7...n
Answers
Answered by
9
Explanation:
27 is answer
I think its help u
Answered by
1
Explanation:
s=1-2+3..n
sum of 2+3+... n is
sn =n/2(t1+tn)
sn n/2(2+n)
sn=n^2+2n/2
now sn=1-n^2+2n/2
sn=2-n^2+2n/2
Similar questions
Social Sciences,
5 months ago
English,
5 months ago
Math,
5 months ago
Social Sciences,
10 months ago
History,
1 year ago
English,
1 year ago