Numerical Methods (CS 357) Spring 2017
What | Where |
---|---|
Time/place | Section M: TTh 12:30pm-1:45pm 1320 DCL / Catalog (Andreas) |
Section N: TTh 2:00pm-3:15pm 1320 DCL / Catalog (Edgar) | |
Class URL | https://bit.ly/cs357-s17 |
Class recordings | Watch » (Section M) |
Watch » (Section N) | |
Web forum | Discuss » · Suggestions · Instant message |
Calendar | View » |
Quizzes
Please find the quizzes under their corresponding lecture in the class calendar.
Exams
Please find information on our upcoming exams in the corresponding section of the class calendar. Reserve your time slots in the testing facility as soon as possible--otherwise your preferred times may no longer be available.
Homework
Please see the class calendar for homework deadlines (generally Fridays at 5 pm, except for examlet weeks).
Course Outline
-
Part 1: Models, Errors, and Numbers
-
Objectives
</li> <li data-jstree='{"icon": "fa fa-cube"}'> <b>0. Introduction</b> <ul> <li data-jstree='{"icon": "fa fa-book"}'> <a href="repocur:lectures/pdf/notes.pdf">Notes</a> </li> <li data-jstree='{"icon": "fa fa-check-circle"}'> <a href="flow:quiz-policies">Quiz: Policies</a> </li> <li data-jstree='{"icon": "fa fa-user"}'> <a href="flow:inclass-matmul-complexity">Activity: Cost of Matrix-Matrix Multiplication</a> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="repo:demos/upload/intro/Brownian Motion.html">Demo: Brownian Motion</a> <ul> <li data-jstree='{"icon": "fa fa-newspaper-o"}'> <a href="repo:demos/upload/intro/Brownian Motion.html">View on the web</a> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="http://mybinder.org/repo/illinois-scicomp/cs357-s17-binder/notebooks/intro/Brownian Motion.ipynb">Run interactively (on mybinder.org)</a> </li> <li data-jstree='{"icon": "fa fa-terminal"}'> <a href="repo:demos/upload/intro/Brownian Motion.py">Download Python script</a> </li> <li data-jstree='{"icon": "fa fa-download"}'> <a href="repo:demos/upload/intro/Brownian Motion.ipynb">Download Jupyter notebook</a> </li> </ul> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="repo:demos/upload/intro/Cost of Matrix-Matrix Multiplication.html">Demo: Cost of Matrix-Matrix Multiplication</a> <ul> <li data-jstree='{"icon": "fa fa-newspaper-o"}'> <a href="repo:demos/upload/intro/Cost of Matrix-Matrix Multiplication.html">View on the web</a> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="http://mybinder.org/repo/illinois-scicomp/cs357-s17-binder/notebooks/intro/Cost of Matrix-Matrix Multiplication.ipynb">Run interactively (on mybinder.org)</a> </li> <li data-jstree='{"icon": "fa fa-terminal"}'> <a href="repo:demos/upload/intro/Cost of Matrix-Matrix Multiplication.py">Download Python script</a> </li> <li data-jstree='{"icon": "fa fa-download"}'> <a href="repo:demos/upload/intro/Cost of Matrix-Matrix Multiplication.ipynb">Download Jupyter notebook</a> </li> </ul> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="repo:demos/upload/intro/Waiting for 1.html">Demo: Waiting for 1</a> <ul> <li data-jstree='{"icon": "fa fa-newspaper-o"}'> <a href="repo:demos/upload/intro/Waiting for 1.html">View on the web</a> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="http://mybinder.org/repo/illinois-scicomp/cs357-s17-binder/notebooks/intro/Waiting for 1.ipynb">Run interactively (on mybinder.org)</a> </li> <li data-jstree='{"icon": "fa fa-terminal"}'> <a href="repo:demos/upload/intro/Waiting for 1.py">Download Python script</a> </li> <li data-jstree='{"icon": "fa fa-download"}'> <a href="repo:demos/upload/intro/Waiting for 1.ipynb">Download Jupyter notebook</a> </li> </ul> </li> </ul> </li> <li data-jstree='{"icon": "fa fa-cube"}'> <b>1. Python, Numpy, and Matplotlib</b> <ul> <li data-jstree='{"icon": "fa fa-book"}'> <a href="repocur:lectures/pdf/notes-part1.pdf">Notes</a> </li> <li data-jstree='{"icon": "fa fa-check-circle"}'> <a href="flow:quiz-03">Quiz: Quiz: Big O and Python (Quiz 03)</a> </li> <li data-jstree='{"icon": "fa fa-user"}'> <a href="flow:inclass-image-stencil">Activity: Image Processing</a> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="repo:demos/upload/python/1-1-Python-Types.html">Demo: 1-1-Python-Types</a> <ul> <li data-jstree='{"icon": "fa fa-newspaper-o"}'> <a href="repo:demos/upload/python/1-1-Python-Types.html">View on the web</a> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="http://mybinder.org/repo/illinois-scicomp/cs357-s17-binder/notebooks/python/1-1-Python-Types.ipynb">Run interactively (on mybinder.org)</a> </li> <li data-jstree='{"icon": "fa fa-terminal"}'> <a href="repo:demos/upload/python/1-1-Python-Types.py">Download Python script</a> </li> <li data-jstree='{"icon": "fa fa-download"}'> <a href="repo:demos/upload/python/1-1-Python-Types.ipynb">Download Jupyter notebook</a> </li> </ul> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="repo:demos/upload/python/1-2-Python-Names and Values.html">Demo: 1-2-Python-Names and Values</a> <ul> <li data-jstree='{"icon": "fa fa-newspaper-o"}'> <a href="repo:demos/upload/python/1-2-Python-Names and Values.html">View on the web</a> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="http://mybinder.org/repo/illinois-scicomp/cs357-s17-binder/notebooks/python/1-2-Python-Names and Values.ipynb">Run interactively (on mybinder.org)</a> </li> <li data-jstree='{"icon": "fa fa-terminal"}'> <a href="repo:demos/upload/python/1-2-Python-Names and Values.py">Download Python script</a> </li> <li data-jstree='{"icon": "fa fa-download"}'> <a href="repo:demos/upload/python/1-2-Python-Names and Values.ipynb">Download Jupyter notebook</a> </li> </ul> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="repo:demos/upload/python/1-3-Python-Indexing.html">Demo: 1-3-Python-Indexing</a> <ul> <li data-jstree='{"icon": "fa fa-newspaper-o"}'> <a href="repo:demos/upload/python/1-3-Python-Indexing.html">View on the web</a> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="http://mybinder.org/repo/illinois-scicomp/cs357-s17-binder/notebooks/python/1-3-Python-Indexing.ipynb">Run interactively (on mybinder.org)</a> </li> <li data-jstree='{"icon": "fa fa-terminal"}'> <a href="repo:demos/upload/python/1-3-Python-Indexing.py">Download Python script</a> </li> <li data-jstree='{"icon": "fa fa-download"}'> <a href="repo:demos/upload/python/1-3-Python-Indexing.ipynb">Download Jupyter notebook</a> </li> </ul> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="repo:demos/upload/python/1-4-Python-Control flow.html">Demo: 1-4-Python-Control flow</a> <ul> <li data-jstree='{"icon": "fa fa-newspaper-o"}'> <a href="repo:demos/upload/python/1-4-Python-Control flow.html">View on the web</a> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="http://mybinder.org/repo/illinois-scicomp/cs357-s17-binder/notebooks/python/1-4-Python-Control flow.ipynb">Run interactively (on mybinder.org)</a> </li> <li data-jstree='{"icon": "fa fa-terminal"}'> <a href="repo:demos/upload/python/1-4-Python-Control flow.py">Download Python script</a> </li> <li data-jstree='{"icon": "fa fa-download"}'> <a href="repo:demos/upload/python/1-4-Python-Control flow.ipynb">Download Jupyter notebook</a> </li> </ul> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="repo:demos/upload/python/1-5-Python-Functions.html">Demo: 1-5-Python-Functions</a> <ul> <li data-jstree='{"icon": "fa fa-newspaper-o"}'> <a href="repo:demos/upload/python/1-5-Python-Functions.html">View on the web</a> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="http://mybinder.org/repo/illinois-scicomp/cs357-s17-binder/notebooks/python/1-5-Python-Functions.ipynb">Run interactively (on mybinder.org)</a> </li> <li data-jstree='{"icon": "fa fa-terminal"}'> <a href="repo:demos/upload/python/1-5-Python-Functions.py">Download Python script</a> </li> <li data-jstree='{"icon": "fa fa-download"}'> <a href="repo:demos/upload/python/1-5-Python-Functions.ipynb">Download Jupyter notebook</a> </li> </ul> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="repo:demos/upload/python/1-6-Python-Objects.html">Demo: 1-6-Python-Objects</a> <ul> <li data-jstree='{"icon": "fa fa-newspaper-o"}'> <a href="repo:demos/upload/python/1-6-Python-Objects.html">View on the web</a> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="http://mybinder.org/repo/illinois-scicomp/cs357-s17-binder/notebooks/python/1-6-Python-Objects.ipynb">Run interactively (on mybinder.org)</a> </li> <li data-jstree='{"icon": "fa fa-terminal"}'> <a href="repo:demos/upload/python/1-6-Python-Objects.py">Download Python script</a> </li> <li data-jstree='{"icon": "fa fa-download"}'> <a href="repo:demos/upload/python/1-6-Python-Objects.ipynb">Download Jupyter notebook</a> </li> </ul> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="repo:demos/upload/python/1-7-Python-A few more things.html">Demo: 1-7-Python-A few more things</a> <ul> <li data-jstree='{"icon": "fa fa-newspaper-o"}'> <a href="repo:demos/upload/python/1-7-Python-A few more things.html">View on the web</a> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="http://mybinder.org/repo/illinois-scicomp/cs357-s17-binder/notebooks/python/1-7-Python-A few more things.ipynb">Run interactively (on mybinder.org)</a> </li> <li data-jstree='{"icon": "fa fa-terminal"}'> <a href="repo:demos/upload/python/1-7-Python-A few more things.py">Download Python script</a> </li> <li data-jstree='{"icon": "fa fa-download"}'> <a href="repo:demos/upload/python/1-7-Python-A few more things.ipynb">Download Jupyter notebook</a> </li> </ul> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="repo:demos/upload/python/2-1-numpy-Introduction.html">Demo: 2-1-numpy-Introduction</a> <ul> <li data-jstree='{"icon": "fa fa-newspaper-o"}'> <a href="repo:demos/upload/python/2-1-numpy-Introduction.html">View on the web</a> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="http://mybinder.org/repo/illinois-scicomp/cs357-s17-binder/notebooks/python/2-1-numpy-Introduction.ipynb">Run interactively (on mybinder.org)</a> </li> <li data-jstree='{"icon": "fa fa-terminal"}'> <a href="repo:demos/upload/python/2-1-numpy-Introduction.py">Download Python script</a> </li> <li data-jstree='{"icon": "fa fa-download"}'> <a href="repo:demos/upload/python/2-1-numpy-Introduction.ipynb">Download Jupyter notebook</a> </li> </ul> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="repo:demos/upload/python/2-2-numpy-Indexing.html">Demo: 2-2-numpy-Indexing</a> <ul> <li data-jstree='{"icon": "fa fa-newspaper-o"}'> <a href="repo:demos/upload/python/2-2-numpy-Indexing.html">View on the web</a> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="http://mybinder.org/repo/illinois-scicomp/cs357-s17-binder/notebooks/python/2-2-numpy-Indexing.ipynb">Run interactively (on mybinder.org)</a> </li> <li data-jstree='{"icon": "fa fa-terminal"}'> <a href="repo:demos/upload/python/2-2-numpy-Indexing.py">Download Python script</a> </li> <li data-jstree='{"icon": "fa fa-download"}'> <a href="repo:demos/upload/python/2-2-numpy-Indexing.ipynb">Download Jupyter notebook</a> </li> </ul> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="repo:demos/upload/python/2-3-numpy-Broadcasting.html">Demo: 2-3-numpy-Broadcasting</a> <ul> <li data-jstree='{"icon": "fa fa-newspaper-o"}'> <a href="repo:demos/upload/python/2-3-numpy-Broadcasting.html">View on the web</a> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="http://mybinder.org/repo/illinois-scicomp/cs357-s17-binder/notebooks/python/2-3-numpy-Broadcasting.ipynb">Run interactively (on mybinder.org)</a> </li> <li data-jstree='{"icon": "fa fa-terminal"}'> <a href="repo:demos/upload/python/2-3-numpy-Broadcasting.py">Download Python script</a> </li> <li data-jstree='{"icon": "fa fa-download"}'> <a href="repo:demos/upload/python/2-3-numpy-Broadcasting.ipynb">Download Jupyter notebook</a> </li> </ul> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="repo:demos/upload/python/2-4-numpy-Tools.html">Demo: 2-4-numpy-Tools</a> <ul> <li data-jstree='{"icon": "fa fa-newspaper-o"}'> <a href="repo:demos/upload/python/2-4-numpy-Tools.html">View on the web</a> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="http://mybinder.org/repo/illinois-scicomp/cs357-s17-binder/notebooks/python/2-4-numpy-Tools.ipynb">Run interactively (on mybinder.org)</a> </li> <li data-jstree='{"icon": "fa fa-terminal"}'> <a href="repo:demos/upload/python/2-4-numpy-Tools.py">Download Python script</a> </li> <li data-jstree='{"icon": "fa fa-download"}'> <a href="repo:demos/upload/python/2-4-numpy-Tools.ipynb">Download Jupyter notebook</a> </li> </ul> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="repo:demos/upload/python/2-5-numpy-Data Storage.html">Demo: 2-5-numpy-Data Storage</a> <ul> <li data-jstree='{"icon": "fa fa-newspaper-o"}'> <a href="repo:demos/upload/python/2-5-numpy-Data Storage.html">View on the web</a> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="http://mybinder.org/repo/illinois-scicomp/cs357-s17-binder/notebooks/python/2-5-numpy-Data Storage.ipynb">Run interactively (on mybinder.org)</a> </li> <li data-jstree='{"icon": "fa fa-terminal"}'> <a href="repo:demos/upload/python/2-5-numpy-Data Storage.py">Download Python script</a> </li> <li data-jstree='{"icon": "fa fa-download"}'> <a href="repo:demos/upload/python/2-5-numpy-Data Storage.ipynb">Download Jupyter notebook</a> </li> </ul> </li> <li data-jstree='{"icon": "fa fa-file-text-o"}'> <a href="repocur:demos/upload/python/gvmagic.py">Code: gvmagic.py</a> </li> <li data-jstree='{"icon": "fa fa-file-text-o"}'> <a href="repocur:demos/upload/python/objgraph.py">Code: objgraph.py</a> </li> <li data-jstree='{"icon": "fa fa-file-text-o"}'> <a href="repocur:demos/upload/python/objgraph_helper.py">Code: objgraph_helper.py</a> </li> </ul> </li> <li data-jstree='{"icon": "fa fa-cube"}'> <b>2. Making Models with Polynomials: Taylor Series</b> <ul> <li data-jstree='{"icon": "fa fa-book"}'> <a href="repocur:lectures/pdf/notes-part1.pdf#page=5">Notes</a> </li> <li data-jstree='{"icon": "fa fa-user"}'> <a href="flow:inclass-taylor">Activity: Taylor Series</a> </li> <li data-jstree='{"icon": "fa fa-check-circle"}'> <a href="flow:quiz-04">Quiz: Taylor Series and Python (Quiz 04)</a> </li> <li data-jstree='{"icon": "fa fa-check-circle"}'> <a href="flow:quiz-05">Quiz: Truncation Error of Taylor Expansions (Quiz 05)</a> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="repo:demos/upload/taylor/Computing Pi with Taylor.html">Demo: Computing Pi with Taylor</a> <ul> <li data-jstree='{"icon": "fa fa-newspaper-o"}'> <a href="repo:demos/upload/taylor/Computing Pi with Taylor.html">View on the web</a> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="http://mybinder.org/repo/illinois-scicomp/cs357-s17-binder/notebooks/taylor/Computing Pi with Taylor.ipynb">Run interactively (on mybinder.org)</a> </li> <li data-jstree='{"icon": "fa fa-terminal"}'> <a href="repo:demos/upload/taylor/Computing Pi with Taylor.py">Download Python script</a> </li> <li data-jstree='{"icon": "fa fa-download"}'> <a href="repo:demos/upload/taylor/Computing Pi with Taylor.ipynb">Download Jupyter notebook</a> </li> </ul> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="repo:demos/upload/taylor/Polynomial Approximation with Derivatives.html">Demo: Polynomial Approximation with Derivatives</a> <ul> <li data-jstree='{"icon": "fa fa-newspaper-o"}'> <a href="repo:demos/upload/taylor/Polynomial Approximation with Derivatives.html">View on the web</a> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="http://mybinder.org/repo/illinois-scicomp/cs357-s17-binder/notebooks/taylor/Polynomial Approximation with Derivatives.ipynb">Run interactively (on mybinder.org)</a> </li> <li data-jstree='{"icon": "fa fa-terminal"}'> <a href="repo:demos/upload/taylor/Polynomial Approximation with Derivatives.py">Download Python script</a> </li> <li data-jstree='{"icon": "fa fa-download"}'> <a href="repo:demos/upload/taylor/Polynomial Approximation with Derivatives.ipynb">Download Jupyter notebook</a> </li> </ul> </li> </ul> </li> <li data-jstree='{"icon": "fa fa-cube"}'> <b>3. Making Models with Polynomials: Interpolation</b> <ul> <li data-jstree='{"icon": "fa fa-book"}'> <a href="repocur:lectures/pdf/notes-part1.pdf#page=5">Notes</a> </li> <li data-jstree='{"icon": "fa fa-user"}'> <a href="flow:inclass-interpolation">Activity: Interpolation</a> </li> <li data-jstree='{"icon": "fa fa-check-circle"}'> <a href="flow:quiz-06">Quiz: Interpolation (Quiz 06)</a> </li> <li data-jstree='{"icon": "fa fa-check-circle"}'> <a href="flow:quiz-07">Quiz: Interpolation II (Quiz 07)</a> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="repo:demos/upload/interp_basic/Computing Pi with Interpolation.html">Demo: Computing Pi with Interpolation</a> <ul> <li data-jstree='{"icon": "fa fa-newspaper-o"}'> <a href="repo:demos/upload/interp_basic/Computing Pi with Interpolation.html">View on the web</a> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="http://mybinder.org/repo/illinois-scicomp/cs357-s17-binder/notebooks/interp_basic/Computing Pi with Interpolation.ipynb">Run interactively (on mybinder.org)</a> </li> <li data-jstree='{"icon": "fa fa-terminal"}'> <a href="repo:demos/upload/interp_basic/Computing Pi with Interpolation.py">Download Python script</a> </li> <li data-jstree='{"icon": "fa fa-download"}'> <a href="repo:demos/upload/interp_basic/Computing Pi with Interpolation.ipynb">Download Jupyter notebook</a> </li> </ul> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="repo:demos/upload/interp_basic/Polynomial Approximation with Point Values.html">Demo: Polynomial Approximation with Point Values</a> <ul> <li data-jstree='{"icon": "fa fa-newspaper-o"}'> <a href="repo:demos/upload/interp_basic/Polynomial Approximation with Point Values.html">View on the web</a> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="http://mybinder.org/repo/illinois-scicomp/cs357-s17-binder/notebooks/interp_basic/Polynomial Approximation with Point Values.ipynb">Run interactively (on mybinder.org)</a> </li> <li data-jstree='{"icon": "fa fa-terminal"}'> <a href="repo:demos/upload/interp_basic/Polynomial Approximation with Point Values.py">Download Python script</a> </li> <li data-jstree='{"icon": "fa fa-download"}'> <a href="repo:demos/upload/interp_basic/Polynomial Approximation with Point Values.ipynb">Download Jupyter notebook</a> </li> </ul> </li> </ul> </li> <li data-jstree='{"icon": "fa fa-cube"}'> <b>4. Making Models with Monte Carlo</b> <ul> <li data-jstree='{"icon": "fa fa-book"}'> <a href="repocur:lectures/pdf/notes-part1.pdf#page=33">Notes</a> </li> <li data-jstree='{"icon": "fa fa-user"}'> <a href="flow:inclass-mc">Activity: Monte Carlo Methods</a> </li> <li data-jstree='{"icon": "fa fa-user"}'> <a href="flow:inclass-mc-discrete">Activity: Monte Carlo with Discrete Data</a> </li> <li data-jstree='{"icon": "fa fa-user"}'> <a href="flow:inclass-mc-integral">Activity: Calculating an Integral using Monte Carlo</a> </li> <li data-jstree='{"icon": "fa fa-check-circle"}'> <a href="flow:quiz-08">Quiz: Monte Carlo (Quiz 08)</a> </li> <li data-jstree='{"icon": "fa fa-check-circle"}'> <a href="flow:quiz-09">Quiz: Monte Carlo II (Quiz 09)</a> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="repo:demos/upload/mc/Computing Pi using Sampling.html">Demo: Computing Pi using Sampling</a> <ul> <li data-jstree='{"icon": "fa fa-newspaper-o"}'> <a href="repo:demos/upload/mc/Computing Pi using Sampling.html">View on the web</a> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="http://mybinder.org/repo/illinois-scicomp/cs357-s17-binder/notebooks/mc/Computing Pi using Sampling.ipynb">Run interactively (on mybinder.org)</a> </li> <li data-jstree='{"icon": "fa fa-terminal"}'> <a href="repo:demos/upload/mc/Computing Pi using Sampling.py">Download Python script</a> </li> <li data-jstree='{"icon": "fa fa-download"}'> <a href="repo:demos/upload/mc/Computing Pi using Sampling.ipynb">Download Jupyter notebook</a> </li> </ul> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="repo:demos/upload/mc/Counter-Based Random Number Generation.html">Demo: Counter-Based Random Number Generation</a> <ul> <li data-jstree='{"icon": "fa fa-newspaper-o"}'> <a href="repo:demos/upload/mc/Counter-Based Random Number Generation.html">View on the web</a> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="http://mybinder.org/repo/illinois-scicomp/cs357-s17-binder/notebooks/mc/Counter-Based Random Number Generation.ipynb">Run interactively (on mybinder.org)</a> </li> <li data-jstree='{"icon": "fa fa-terminal"}'> <a href="repo:demos/upload/mc/Counter-Based Random Number Generation.py">Download Python script</a> </li> <li data-jstree='{"icon": "fa fa-download"}'> <a href="repo:demos/upload/mc/Counter-Based Random Number Generation.ipynb">Download Jupyter notebook</a> </li> </ul> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="repo:demos/upload/mc/Errors in Sampling.html">Demo: Errors in Sampling</a> <ul> <li data-jstree='{"icon": "fa fa-newspaper-o"}'> <a href="repo:demos/upload/mc/Errors in Sampling.html">View on the web</a> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="http://mybinder.org/repo/illinois-scicomp/cs357-s17-binder/notebooks/mc/Errors in Sampling.ipynb">Run interactively (on mybinder.org)</a> </li> <li data-jstree='{"icon": "fa fa-terminal"}'> <a href="repo:demos/upload/mc/Errors in Sampling.py">Download Python script</a> </li> <li data-jstree='{"icon": "fa fa-download"}'> <a href="repo:demos/upload/mc/Errors in Sampling.ipynb">Download Jupyter notebook</a> </li> </ul> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="repo:demos/upload/mc/Playing around with Random Number Generators.html">Demo: Playing around with Random Number Generators</a> <ul> <li data-jstree='{"icon": "fa fa-newspaper-o"}'> <a href="repo:demos/upload/mc/Playing around with Random Number Generators.html">View on the web</a> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="http://mybinder.org/repo/illinois-scicomp/cs357-s17-binder/notebooks/mc/Playing around with Random Number Generators.ipynb">Run interactively (on mybinder.org)</a> </li> <li data-jstree='{"icon": "fa fa-terminal"}'> <a href="repo:demos/upload/mc/Playing around with Random Number Generators.py">Download Python script</a> </li> <li data-jstree='{"icon": "fa fa-download"}'> <a href="repo:demos/upload/mc/Playing around with Random Number Generators.ipynb">Download Jupyter notebook</a> </li> </ul> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="repo:demos/upload/mc/Plotting Distributions with Histograms.html">Demo: Plotting Distributions with Histograms</a> <ul> <li data-jstree='{"icon": "fa fa-newspaper-o"}'> <a href="repo:demos/upload/mc/Plotting Distributions with Histograms.html">View on the web</a> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="http://mybinder.org/repo/illinois-scicomp/cs357-s17-binder/notebooks/mc/Plotting Distributions with Histograms.ipynb">Run interactively (on mybinder.org)</a> </li> <li data-jstree='{"icon": "fa fa-terminal"}'> <a href="repo:demos/upload/mc/Plotting Distributions with Histograms.py">Download Python script</a> </li> <li data-jstree='{"icon": "fa fa-download"}'> <a href="repo:demos/upload/mc/Plotting Distributions with Histograms.ipynb">Download Jupyter notebook</a> </li> </ul> </li> </ul> </li> <li data-jstree='{"icon": "fa fa-cube"}'> <b>5. Error, Accuracy and Convergence</b> <ul> <li data-jstree='{"icon": "fa fa-book"}'> <a href="repocur:lectures/pdf/notes-part1.pdf#page=58">Notes</a> </li> <li data-jstree='{"icon": "fa fa-user"}'> <a href="flow:inclass-function-conditioning">Activity: Conditioning of a Function Evaluation</a> </li> <li data-jstree='{"icon": "fa fa-check-circle"}'> <a href="flow:quiz-10">Quiz: Quantifying Error (Quiz 10)</a> </li> </ul> </li> <li data-jstree='{"icon": "fa fa-cube"}'> <b>6. Floating Point</b> <ul> <li data-jstree='{"icon": "fa fa-book"}'> <a href="repocur:lectures/pdf/notes-part1.pdf#page=67">Notes</a> </li> <li data-jstree='{"icon": "fa fa-check-circle"}'> <a href="flow:quiz-11">Quiz: Floating Point (Quiz 11)</a> </li> <li data-jstree='{"icon": "fa fa-check-circle"}'> <a href="flow:quiz-12">Quiz: Floating Point Arithmetic (Quiz 12)</a> </li> <li data-jstree='{"icon": "fa fa-check-circle"}'> <a href="flow:quiz-13">Quiz: Floating Point Arithmetic II (Quiz 13)</a> </li> <li data-jstree='{"icon": "fa fa-user"}'> <a href="flow:inclass-floating-point">Activity: Floating Point I</a> </li> <li data-jstree='{"icon": "fa fa-user"}'> <a href="flow:inclass-floating-point-alternate">Activity: Floating Point I (Alternate Version)</a> </li> <li data-jstree='{"icon": "fa fa-user"}'> <a href="flow:inclass-floating-point-2">Activity: Floating Point 2</a> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="repo:demos/upload/fp/Catastrophic Cancellation.html">Demo: Catastrophic Cancellation</a> <ul> <li data-jstree='{"icon": "fa fa-newspaper-o"}'> <a href="repo:demos/upload/fp/Catastrophic Cancellation.html">View on the web</a> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="http://mybinder.org/repo/illinois-scicomp/cs357-s17-binder/notebooks/fp/Catastrophic Cancellation.ipynb">Run interactively (on mybinder.org)</a> </li> <li data-jstree='{"icon": "fa fa-terminal"}'> <a href="repo:demos/upload/fp/Catastrophic Cancellation.py">Download Python script</a> </li> <li data-jstree='{"icon": "fa fa-download"}'> <a href="repo:demos/upload/fp/Catastrophic Cancellation.ipynb">Download Jupyter notebook</a> </li> </ul> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="repo:demos/upload/fp/Density of Floating Point Numbers.html">Demo: Density of Floating Point Numbers</a> <ul> <li data-jstree='{"icon": "fa fa-newspaper-o"}'> <a href="repo:demos/upload/fp/Density of Floating Point Numbers.html">View on the web</a> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="http://mybinder.org/repo/illinois-scicomp/cs357-s17-binder/notebooks/fp/Density of Floating Point Numbers.ipynb">Run interactively (on mybinder.org)</a> </li> <li data-jstree='{"icon": "fa fa-terminal"}'> <a href="repo:demos/upload/fp/Density of Floating Point Numbers.py">Download Python script</a> </li> <li data-jstree='{"icon": "fa fa-download"}'> <a href="repo:demos/upload/fp/Density of Floating Point Numbers.ipynb">Download Jupyter notebook</a> </li> </ul> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="repo:demos/upload/fp/Floating Point vs Program Logic.html">Demo: Floating Point vs Program Logic</a> <ul> <li data-jstree='{"icon": "fa fa-newspaper-o"}'> <a href="repo:demos/upload/fp/Floating Point vs Program Logic.html">View on the web</a> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="http://mybinder.org/repo/illinois-scicomp/cs357-s17-binder/notebooks/fp/Floating Point vs Program Logic.ipynb">Run interactively (on mybinder.org)</a> </li> <li data-jstree='{"icon": "fa fa-terminal"}'> <a href="repo:demos/upload/fp/Floating Point vs Program Logic.py">Download Python script</a> </li> <li data-jstree='{"icon": "fa fa-download"}'> <a href="repo:demos/upload/fp/Floating Point vs Program Logic.ipynb">Download Jupyter notebook</a> </li> </ul> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="repo:demos/upload/fp/Floating point and the Harmonic Series.html">Demo: Floating point and the Harmonic Series</a> <ul> <li data-jstree='{"icon": "fa fa-newspaper-o"}'> <a href="repo:demos/upload/fp/Floating point and the Harmonic Series.html">View on the web</a> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="http://mybinder.org/repo/illinois-scicomp/cs357-s17-binder/notebooks/fp/Floating point and the Harmonic Series.ipynb">Run interactively (on mybinder.org)</a> </li> <li data-jstree='{"icon": "fa fa-terminal"}'> <a href="repo:demos/upload/fp/Floating point and the Harmonic Series.py">Download Python script</a> </li> <li data-jstree='{"icon": "fa fa-download"}'> <a href="repo:demos/upload/fp/Floating point and the Harmonic Series.ipynb">Download Jupyter notebook</a> </li> </ul> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="repo:demos/upload/fp/Picking apart a floating point number.html">Demo: Picking apart a floating point number</a> <ul> <li data-jstree='{"icon": "fa fa-newspaper-o"}'> <a href="repo:demos/upload/fp/Picking apart a floating point number.html">View on the web</a> </li> <li data-jstree='{"icon": "fa fa-keyboard-o"}'> <a href="http://mybinder.org/repo/illinois-scicomp/cs357-s17-binder/notebooks/fp/Picking apart a floating point number.ipynb">Run interactively (on mybinder.org)</a> </li> <li data-jstree='{"icon": "fa fa-terminal"}'> <a href="repo:demos/upload/fp/Picking apart a floating point number.py">Download Python script</a> </li> <li data-jstree='{"icon": "fa fa-download"}'> <a href="repo:demos/upload/fp/Picking apart a floating point number.ipynb">Download Jupyter notebook</a> </li> </ul> </li> </ul> </li> </ul>
- Part 2: Arrays--Computing with Many Numbers
-
Objectives
- scribbles-2017-01-17.pdf
- scribbles-2017-01-19.pdf
- scribbles-2017-01-24.pdf
- scribbles-2017-01-26.pdf
- scribbles-2017-01-31.pdf
- scribbles-2017-02-02.pdf
- scribbles-2017-02-07.pdf
- scribbles-2017-02-09.pdf
- scribbles-2017-02-14.pdf
- scribbles-2017-02-16.pdf
- scribbles-2017-02-21.pdf
- scribbles-2017-02-23.pdf
- scribbles-2017-02-28.pdf
- scribbles-2017-03-02.pdf
- scribbles-2017-03-07.pdf
- scribbles-2017-03-09.pdf
- scribbles-2017-03-14.pdf
- scribbles-2017-03-16.pdf
- scribbles-2017-03-28.pdf
- scribbles-2017-03-30.pdf
- scribbles-2017-04-04.pdf
- scribbles-2017-04-06.pdf
- scribbles-2017-04-11.pdf
- scribbles-2017-04-13.pdf
- scribbles-2017-04-18.pdf
- scribbles-2017-04-20.pdf
- scribbles-2017-04-25.pdf
- scribbles-2017-04-27.pdf
- scribbles-2017-05-02.pdf
- scribbles-edgar-2017-01-19.pdf
- scribbles-edgar-2017-01-24.pdf
- scribbles-edgar-2017-01-26.pdf
- scribbles-edgar-2017-01-31.pdf
- scribbles-edgar-2017-02-02.pdf
- scribbles-edgar-2017-02-07.pdf
- scribbles-edgar-2017-02-09.pdf
- scribbles-edgar-2017-02-14.pdf
- scribbles-edgar-2017-02-16.pdf
- scribbles-edgar-2017-02-21.pdf
- scribbles-edgar-2017-02-23.pdf
- scribbles-edgar-2017-02-28.pdf
- scribbles-edgar-2017-03-02.pdf
- scribbles-edgar-2017-03-07.pdf
- scribbles-edgar-2017-03-09.pdf
- scribbles-edgar-2017-03-14.pdf
- scribbles-edgar-2017-03-16.pdf
- scribbles-edgar-2017-03-28.pdf
- scribbles-edgar-2017-03-30.pdf
- scribbles-edgar-2017-04-04.pdf
- scribbles-edgar-2017-04-06.pdf
- scribbles-edgar-2017-04-11.pdf
- scribbles-edgar-2017-04-13.pdf
- scribbles-edgar-2017-04-18.pdf
- scribbles-edgar-2017-04-20.pdf
- scribbles-edgar-2017-04-25.pdf
- scribbles-edgar-2017-04-27.pdf
- scribbles-edgar-2017-05-02.pdf
Team
Computing
We will be using Python with the libraries numpy, scipy and matplotlib for in-class work and assignments. No other languages are permitted. Python has a very gentle learning curve, so you should feel at home even if you've never done any work in Python.
Virtual Machine Image
While you are free to install Python and Numpy on your own computer to do homework, the only supported way to do so is using the supplied virtual machine image.
Previous editions of this class
Python Help
(see section 1 of the outline for more)
- The Scipy Lectures
- Dive into Python 3
- Learn Python the hard way
- Python tutorial
- Facts and myths about Python names and values
- CSE workshop training material
- From Python to Numpy (An open-access book on numpy vectorization techniques, Nicolas P. Rougier, 2017)
Numpy Help
- Introduction to Python for Science
- Numpy/Scipy documentation
- More in this reddit thread
- An introduction to Numpy and SciPy
- 100 Numpy exercises
- The Numpy MedKit by Stéfan van der Walt
Linear Algebra
- Immersive Linear Algebra
- Essence of Linear Algebra (YouTube, by 3Blue1Brown)
- Linear Algebra (YouTube, by MathTheBeautiful)
Statistics (goes beyond class material)
- Statistics for Hackers by Jake VanderPlas
Optimization (goes beyond class material)
- An Interactive Tutorial on Numerical Optimization by Ben Frederickson