Commit c29ad69c authored by irada chinnachat's avatar irada chinnachat

third.py

parent 9c4e3b3f
def f(x):
return e**(-x)
def third (f,x=a,h=0.001)
return (f(x+2*h)-2*f(x+h)+2*f(x-h)+(-f(x-2*h)))/(2*(h**3))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment