diff options
author | Joe Anderson <jandew+dev@gmail.com> | 2011-10-31 08:07:03 -0500 |
---|---|---|
committer | Joe Anderson <jandew+dev@gmail.com> | 2011-10-31 08:07:03 -0500 |
commit | 707fc41fefe919e95de495bd0c23efe5cd667868 (patch) | |
tree | 335f3b956a223872b8954d9a1490225777d43f9a /throw.py | |
parent | 380f7244e82cc5798519956714b9bd1720cdbf6c (diff) | |
download | toss-707fc41fefe919e95de495bd0c23efe5cd667868.tar.gz toss-707fc41fefe919e95de495bd0c23efe5cd667868.zip |
clean compare()
Diffstat (limited to 'throw.py')
-rw-r--r-- | throw.py | 28 |
1 files changed, 0 insertions, 28 deletions
@@ -265,34 +265,6 @@ def solve(): plot(time, soln, ['all', '!gravity']) pyplot.show() -def compare(): - global m, Mass - m = 39.7 - Mass = 650 - time, soln = solve_fun(throw, inits) - plot(time, soln, ['tension'], 8) - pyplot.title("Mass = %i" % Mass) - - m = 39.7 - Mass = 670 - time, soln = solve_fun(throw, inits) - plot(time, soln, ['tension'], 7) - pyplot.title("Mass = %i" % Mass) - - m = 39.7 - Mass = 690 - time, soln = solve_fun(throw, inits) - plot(time, soln, ['tension'], 6) - pyplot.title("Mass = %i" % Mass) - - m = 41.81320863 - Mass = 4172 - time, soln = solve_fun(throw, inits) - plot(time, soln, ['tension'], 5) - pyplot.title("Mass = %i" % Mass) - - pyplot.show() - if len(sys.argv) == 2: func_name = sys.argv[1] if func_name in dir(): |