Computer Science, asked by TbiaSamishta, 1 year ago

How can I write a Python program to find the sum of the this series: - X - X**2/2! + X**3/3! - X**4/4! + X**5/5! - X**6/6!bhai jaldi se kar do please


suhasparray: Can you please re-write the series in a much more better way?

Answers

Answered by aqibkincsem
1

"The question asked needs a python coding in order to get the result.

The python program to find the sum of the given series is given below.


X = int(raw_input(""Enter the value for x:""))

j = int(raw_input(""Enter The value for j:""))

Sum = 0

Fact = 1

Sign = 1

for i in range(1,x+1):

for i in range(1,j+1):

              Fact = Fact*1

Sum += (Sign*(X**i)/Fact*j

"

Similar questions