Using for loop we can get the syntax in order to calculate this arithmetic series n is A = 0.9999.
An arithmetic collection is the sum of the phrases in an mathematics collection with a specific range of phrases. Following is a easy system for locating the sum: Formula 1: If S n represents the sum of an mathematics collection with phrases.
This system calls for the values of the primary and ultimate phrases and the range of phrases. Finite Sequence- Finite sequences have countable phrases and do now no longer cross as much as infinity. An instance of a finite mathematics collection is 2, 4, 6, 8. Infinite Sequence- Infinite arithmetic collection is the collection wherein phrases cross as much as infinity.
using while
A=0; n=1; while n<=10000 A=A+(1/(n*(n+1))); n=n+1; end A
output
A = 0.9999
using for loop
A=0; for n=1:10000 A=A+(1/(n*(n+1))); end A
output
A = 0.9999.
Learn more about arithmetic series visit : brainly.com/question/6561461
#SPJ4
Correct Question: