Q21 The natural logarithm can be approximated by the following series. If x is input through the keyboard, write a program to calculate the sum of first seven terms of this series.
Program:115
The natural logarithm can be approximated by the following series.
If x is input through the keyboard, write a c program to calculate the sum of first seven terms of this series.
Output:
Enter the value of x: 5 Result: 1.980570