SUNY Geneseo Department of Computer Science
Matrices
Monday, February 24
CSci 120, Spring 2014
Prof. Doug Baldwin
Return to List of Lectures
Previous Lecture
Misc
Hour exam 1 is Friday (Feb. 28)
- Covers material through matrices (lessons 1 through 6, e.g., expressions, variables, vectors, scripts, plotting, matrices, etc.)
- In class, full class time
- 3 - 5 short-answer questions (e.g., write fragments of Matlab code, tell me what fragments of Matlab code do, etc; 10-15 minutes per answer)
- Open reference materials (book, notes, computer) but closed person
- “Reference materials” include Matlab
Programming project 1
- 3D plotting
- Handout
- I hope to use programming projects in a study of how well the “flipped” teaching works, separate from regular grades.
- Anonymous scoring against course learning outcomes by me, grading against assignment-specific criteria by TAs
- Consent form
Questions?
Cross product?
- Vectors w/ 3 elements
- (x,y,z) × (u,v,w) = (yw - vz, uz - xw, xv - uy )
- v1 cross v2 is perpendicular to both
Quiz 3
Matrices Lesson
Next
(After exam)
“For” loops, with application to integration by Riemann sums
Read / watch
- Chapter 5 up to but not including section 5.2.1 of Attaway
- Top of page 147 through top 1/3 of 160
- “The for loop” from Edinburgh
- “Programming introduction” and “For loops” sections (under “Programming”) in the “Logic and Control Flow” chapter from Mathworks tutorials.
- Khan Academy lectures on Riemann sums: 4 of the 5 lectures beginning with “Simple Riemann appoximation using rectangles” at https://www.khanacademy.org/math/calculus/integral-calculus/riemann-sums/v/simple-riemann-approximation-using-rectangles (skip “Trapezoidal approximation of area under curve”)
- My mini-lecture on designing and testing programs, at https://cloud.ensemblevideo.com/app/sites/index.aspx?destinationID=IlO-D-b-vUWVkAsj2Is5Zg
Next Lecture