develop an algorithm to compute the sum of the first n terms (n>=1) of the series
s=1-3+5-7+9-...
Answers
Answered by
3
Answer:
*(nth term of (3, 5, 7, ….)) Now, n-th term of series 1, 3, 5 is given by 2*n-1 and, the n-th ... Now, it is known that the sum of first n terms of series n*n (1, 4, 9, …
Similar questions