Course Home Syllabus References Reflections ## Lessons- How to use these web pages
- Introduction
- Strings and Variables
- Decision Control
- Adding Functions
- Using the Python Examples
- How to Work Through the Book
- Sigma and Prod video lesson
- Sigma
- Prod
- rep_mult
- Domains of Functions
## Related Links |
## Mathematical Puzzling In Python*For students in grades 6-12***Course Description:**Inspired by online puzzle collections like Project Euler, this course will examine solving mathematical puzzles through computer programming. There are tons of questions, which though easy to frame mathematically, aren't especially amenable to traditional, pencil-and-paper methods of solution. Computers and high-level programming languages have a lot to offer here. We're going to be exploring a wide range of exciting mathematics—ranging from geometry to combinatorics to graph theory—using Python, a prominent, high-level programming language. This course requires no background in computer science and a basic comfort with algebra.*High school credit: 1 semester***Course Dates:**Rolling enrollment (18 weeks)**Location:**online (courses.northwestern.edu)
## Installing Python## Windows- Python: http://python.org/download/releases/2.7.3/
- Numpy: http://sourceforge.net/projects/numpy/files/NumPy/1.6.2/
(numpy-1.6.2-win32-superpack-python2.7.exe is the version that works with 2.7.x) - Scipy: http://www.scipy.org/Download
(pick the version that works with Python 2.7.x)
## Mac- Python: http://python.org/download/
- Numpy: http://sourceforge.net/projects/numpy/files/NumPy/1.6.1/numpy-1.6.1-py2.7-python.org-macosx10.3.dmg
- Scipy: http://sourceforge.net/projects/scipy/files/scipy/0.10.0/scipy-0.10.0-py2.7-python.org-macosx10.3.dmg
## Other Files Needed for This CourseYou will also need the Python version of the examples from Investigations in Algebra, and the templates that you will fill out to complete the exercises, projects and experiments in the book. You can download them here. The examples from the book are in files labeled chapter_01.py through chapter_09.py. The templates for the exercises, projects and experiments are labeled chapter_01_epe.py through chapter_09_epe.py. There is also an appendix.py with functions from the appendix in the book, and a practice_submission.py to practice submitting your first homework from the book. These course files won't be needed until after you have finished working through the beginning videos that start with How to use these web pages. You will find them discussed in the videos Using the Python Examples and How to Work Through the Book, but you should work through the beginning videos first and complete the exercises that go with each video. |