Skip to content

Commit

Permalink
fixed bug in hooks law problem
Browse files Browse the repository at this point in the history
  • Loading branch information
ellisk42 committed Apr 21, 2018
1 parent 94869d8 commit 38b3495
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scientificLaws.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def crossProduct(a,b):
lambda m1,m2,r: -0.1 * m1 * m2 / (norm(r)**2)),
makeTask("Hook's law",
arrow(tpositive,tpositive),
lambda x: -2.*x*x,
lambda x: -7.29.*x*x,
N = 20,
S = 5),
makeTask("Ohm's law",
Expand Down

0 comments on commit 38b3495

Please sign in to comment.