CS 107 - Introduction to Scientific Computation Readings

Unless otherwise noted, all readings are from the course text.  Each reading assignment should be completed before the class on the date indicated.  These readings are subject to change; check here for updates.  If a reading assigned in class does not match the reading assignment here, the reading assigned in class supersedes.  In Exercises sections, read Discussion questions.  Reading unassigned exercises is optional, but interesting.
 Class Month Day Topic Readings (parenthesized readings are optional) 1 January 22 Course overview, introduction to computing environment and Matlab Guide to CS1 Success, Course Information Page 2 24 Introduction to computing environment and Matlab (cont.), bash, computation, algorithms, expressions and commands Ch. 1, 2.1 3 26 Variables, assignment, notations, binary memory representation 2.2 - 3.1 4 29 Text, characters, numbers, plotting, Booleans, logical operators 3.2 - Ch. 3 end 5 31 Vectors, indices, matrices, mixed data Ch. 4 6 February 2 Files, importing/exporting data 5.1 - 5.3 7 5 Scripts, functions 5.4 - 6.2 8 7 Scripts, functions (cont.) 6.3 - Ch. 6 end 9 9 Functions as arguments, wrapper functions, functions as return values 7.1 - 7.3 10 12 Conditionals: if, elseif, else, end 7.4 - Ch. 7 end 11 14 Conditionals (cont.) 12 16 Conditionals (cont.): switch/case 13 19 Loops: while, for, accumulators, nested loops, outputs of unknown size, loop termination: break, return Ch. 8 14 21 Loops (cont.) 15 23 Loops (cont.): dimensions and arrays 16 26 Loops (cont.): fractal example 17 28 Scope, debugger, persistent variables, global variables, function scope, pass by reference, warnings/errors, optional/default arguments Ch. 9 18 March 2 19 5 20 7 21 9 22 19 (in-class midterm exam) 23 21 24 23 25 26 26 28 27 30 (no class meeting - Good Friday) online lecture videos/exercises to be supplied 28 April 2 (no class meeting - Monday after Easter) online lecture videos/exercises to be supplied 29 4 Object-Oriented Programming: Classes, properties, and methods 30 6 Wa-Tor handout, first half of MATLAB Classes Overview Video 31 9 32 11 33 13 34 16 35 18 36 20 37 23 38 25 39 27 40 30 41 May 2 42 4 Final 7 Final Exam: May 7th, 1:30-4:30PM Final Exam Times