0

hi guys e^1/x= 1+1/x^1×1!+1/x^2×2! i have to type this and get the pythons value and my approximation value i have no clue on how to do it

please help me i have the question send me your email so i can send the pic

19th Sep 2016, 12:30 AM
Nish Patel
Nish Patel - avatar
1 ответ
0
import math x=1.0. # whatever y1 = math.exp(1/x) # e^1/x y2 = 1+1/(x**1*math.factorial(1)) # etc.
19th Sep 2016, 8:56 PM
Ralf