diff options
author | Marius Peter <blendoit@gmail.com> | 2019-07-11 17:14:32 -0700 |
---|---|---|
committer | Marius Peter <blendoit@gmail.com> | 2019-07-11 17:14:32 -0700 |
commit | feaa9144eb28dd263ef79577ab369174b8c6c83b (patch) | |
tree | 23b736616707789752b9d243f800901432325e31 /hw2/prob_5.py | |
parent | e01b5ffedbc57671e5b7f2e900276ffd14882a88 (diff) |
the typa guy to flex: "new plots"
Diffstat (limited to 'hw2/prob_5.py')
-rw-r--r-- | hw2/prob_5.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hw2/prob_5.py b/hw2/prob_5.py new file mode 100644 index 0000000..98d74f4 --- /dev/null +++ b/hw2/prob_5.py @@ -0,0 +1,5 @@ +import numpy as np + +p = [1, 2, 3, 8, 8] +r = np.roots(p) +print(np.around(r, 2)) |