Computer Science, asked by sukhanigautam2, 4 months ago

SOLVE THIS CODE IN PYTHON[JUPYTER NOTEBOOK]
x+x²/2!+x³/3!+x⁴/4!.........



Answers

Answered by SP85
2

In exponential programs mein toh meri gadi aatkadi hi thi par phir bhi solve Kar diye

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

Answered by Anonymous
1

Answer:

HEY BUDDY I HOPE IT HELPS YOU

Explanation:

x = int ( input ( " Enter a value : " ) )

n = int ( input ( " Enter a power : " ) )

s = 0

fact = 1

a = 1

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

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

fact * = 1

s + = ( a * ( x * i ) ) / fact * n

print ( " Sum of the series is : " , s )

HEY BUDDY I HOPE IT HELPS YOU

PLEASE MARK IT AS BRAINLIEST AND GIVE A THANKS

Similar questions