Write a JAVA program to generate the sum of the following series:(Class 10 ICSE)
x2 /3! + x 3 /4! + x4 /5! - ………xn / (n +1)
Thank you for the right answer
Answers
Answered by
2
Explanation: In this program , What I have did is created three variables
1. Sum- to store the sum of the series
2. n- to store the incoming value of n
3. x- to store the incoming value of x
4. fact(int n) - this method is used to find the factorial of a number
Attachments:
Similar questions