SUNY Geneseo Department of Computer Science
“If” Statements, Day 4
Monday, April 7
CSci 120, Spring 2014
Prof. Doug Baldwin
Return to List of Lectures
Previous Lecture
Misc
Hour exam 2 Friday (Apr. 11)
- Material since 1st hour exam (for, while, if)
- Otherwise similar to 1st hour exam in style, rules
- Particularly open reference material
GREAT Day tomorrow (Apr. 8)
- Go hear/see (or present your own) student posters, talks etc.
- No appointments that day
Questions?
“If” Statements
Differentiating distance
- Having Matlab do it symbolically for you is tempting, but incredibly subject to typo errors, and impossible to debug
- Doing it by hand is not that hard
- Or the third suggestion in handout is to approximate derivative as slope between closely spaced points on the function
Next
(After test)
Debugging
Handout
Read/watch
Next Lecture