find sum of first n natural numbers. assign n=10 using dvd. store the sum at 0x5000.
Answers
Answered by
1
letfirst n natural no. be an AP
sn = n/2 [2a+(n-1)d]
= n/2(2(n-1)
= n/2 ( 2n-2)
n(n-1)
Sn = n^2 - n
sn = n/2 [2a+(n-1)d]
= n/2(2(n-1)
= n/2 ( 2n-2)
n(n-1)
Sn = n^2 - n
Similar questions
Math,
7 months ago
Math,
7 months ago
English,
7 months ago
Math,
1 year ago
Computer Science,
1 year ago
Social Sciences,
1 year ago