C program to find the sum of S = 1+1/x+1/x2…………..series up to 4 decimal places of accuracy. | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

C program to find the sum of S = 1+1/x+1/x2…………..series up to 4 decimal places of accuracy.

Can anyone help me with this problem

6th May 2020, 3:58 AM
Umesh Sharma
Umesh Sharma - avatar
1 ответ
+ 1
This sequence is called Geometric Progression. you are multiplying Nth term by fixed factor(in this case it is 1/x) to get N+1 th term. Here is the C program to find sum of geometric series till Nth term https://www.techcrashcourse.com/2015/08/c-program-generate-geometric-series-sum.html
26th Jun 2022, 8:12 AM
Arun Kumar
Arun Kumar - avatar