comparison ch3ex6.py @ 22:84e183b40c63

Added exercises 1 and 2 from chapter 4.
author Brian Neal <bgneal@gmail.com>
date Mon, 31 Dec 2012 18:58:21 -0600
parents 55880b29b4d4
children
comparison
equal deleted inserted replaced
21:55880b29b4d4 22:84e183b40c63
14 14
15 You will have to find a range of n that is big enough to show asymptotic 15 You will have to find a range of n that is big enough to show asymptotic
16 behavior, but small enough to run quickly." 16 behavior, but small enough to run quickly."
17 17
18 """ 18 """
19 import os
20 import random 19 import random
21 import timeit 20 import timeit
22 21
23 import matplotlib.pyplot as pyplot 22 import matplotlib.pyplot as pyplot
24 23