Write a java program sum of the series: s=1+x/1!+x^2/2!+x^3/3!+x^4/4!...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
Physics,
12 days ago
Computer Science,
12 days ago
Science,
25 days ago
Hindi,
8 months ago
Geography,
8 months ago