Skip to content

Commit

Permalink
Add derivative of the example functions to the helper module
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Pauley committed Sep 2, 2010
1 parent edcfad0 commit 5f305cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Chapter1/Python/helpers.py
Expand Up @@ -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 = []
Expand Down

0 comments on commit 5f305cb

Please sign in to comment.