Computer Science, asked by sanjipd5, 8 months ago

write q programm in java s=-1+0+3........n terms​

Answers

Answered by rg71713
0

Answer:

A.P i.e, Arithmetic progression, then it is said to be in Harmonic Progression.In general, the terms in a harmonic progression can be denoted as : 1/a, 1/(a + d), 1/(a + 2d), 1/(a + 3d) …. 1/(a + nd).

As Nth term of AP is given as ( a + (n – 1)d) .Hence, Nth term of harmonic progression is reciprocal of Nth term of AP, which is : 1/(a + (n – 1)d)

where “a” is the 1st term of AP and “d” is the common difference.

Similar questions