Write a program to find sum ofx2/3! + x3/4! + x4/5!..xn/(n+1)
Answers
Answered by
0
Answer:
Sorry I didn't know about it
Answered by
0
Answer:
x = int(input("Enter the value of x: "))
sum = 0
m = 1
for i in range(1, 7) :
fact = 1
for j in range(1, i+1) :
fact *= j
term = x ** i / fact
sum += term * m
m = m * -1
print("Sum =", sum)
Explanation:
it is for python, idk java
Similar questions