a guest Apr 18th, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- def f(x):
- return np.e**(.2*x)
- def BoolesRule(h,f):
- return (2/45)*h*(7*f(w)+32*f(w)+12*f(w)+32*f(w)+7*f(w))
- print("error:", 5.75899-BoolesRule(h,f))
RAW Paste Data