Write a java program to find the sum of the following series: 1!/x+3!/x+5!/x to n terms
Answers
Answered by
0
Answer:
Sum of the Series 1 + x/1 + x^2/2 + x^3/3 + .. + x^n/n
This is a mathematical series program where a user must enter the number of terms up to which the sum of the series is to be found. Following this, we also need the value of x, which forms the base of the series.
Examples :
Input : base = 2, range = 5
Output : 18.07
Input : base = 1, range = 10
Output : 3.93
Similar questions