Permalink
Browse files

Add derivative of the example functions to the helper module

  • Loading branch information...
1 parent edcfad0 commit 5f305cb7c529bf24928d5a04337426adf8485680 @apauley committed Sep 2, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 Chapter1/Python/helpers.py
@@ -4,6 +4,7 @@
Tolerance = 0.0001
example_f = "(3*x) + math.sin(x) - math.exp(x)"
+example_deriv = "3 + math.cos(x) - math.exp(x)"
def swap_points(x):
s = []

0 comments on commit 5f305cb

Please sign in to comment.