Computer Science, asked by PuruVyas, 25 days ago

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 intelligent567
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