Python: Assignments Day 2

Note

Day 2 will focus on numeric data types for linear algebra (vectors and matrices), introduce plotting features available in python, and show you how to read and write data from files on your computer.

If you are already experienced using numpy, matplotlib and doing file I/O, we still ask you to actively participate and help others learn quicker by facilitating small group discussions in which you can share your insight.

Self-study portion for day 2 (ahead of class)

  1. Watch chapter 2 of our self-study videos. This should take ~30 minutes.

  2. Watch chapter 3 of our self-study videos. This should take less than 15 minutes.

  3. browse through the matplotlib gallery to explore available plot types. This should take ~5 minutes.

  4. Watch chapter 4 of our self-study videos. This should take ~45 minutes.

Live exercises (in class)

  • LessonNotes/Lesson  02-Data Types and Loops.ipynb

  • LessonNotes/Lesson  03-Loops and matrix operations.ipynb

  • LessonNotes/Lesson  04-some more numpy and plotting.ipynb

  • LessonNotes/Lesson  05-File IO.ipynb

Practice problems (after class)

  • ./HomeworkExercises/02.1 Exercise numpy.ipynb

  • ./HomeworkExercises/02.3 Exercise on more matrix operations.ipynb

  • ./HomeworkExercises/03.1 Exercise Plotting.ipynb

Self-study portion for day 3 (watch before tomorrow’s class)

  1. Watch all videos that you’ve skipped so far. This should take you 0 to 4 hours, depending on how busy you’ve been over the past few days.

  2. Watch chapter 5 of our self-study videos. This should take ~50 minutes.