Write a program to find the sum of the series: 1/12+1/22+1/32+…..1/n2.

1 answer

s = 0
for i = 1 to n
s = s + 1/(10*i+2)
next i

adapt to the language of your choice. Beware integer division.
Similar Questions
    1. answers icon 1 answer
  1. Consider the infinite geometric series ∑∞n=1−4(13)n−1. In this image, the lower limit of the summation notation is "n =
    1. answers icon 2 answers
  2. the sum of the first n terms of an arithmetic series is 2n(10-n)a.) what is the first term of the series b.) what is the common
    1. answers icon 1 answer
  3. Consider the infinite geometric series∑^(∞)_(n=1) −4(1/3)^n−1 . In this image, the lower limit of the summation notation
    1. answers icon 2 answers
more similar questions