SUNY Geneseo Department of Mathematics

Math 230 02 — Programming and Mathematical Problem Solving

Spring 2016
Prof. Doug Baldwin

Last modified January 12, 2016

Time and Place: MWF 8:30 - 9:20, Sturges 105

Final Meeting: Friday, May 6, 8:00 AM

Instructor: Doug Baldwin
Office: South 307
Phone: 245-5659
Email: baldwin@geneseo.edu
Office Hours: Any time Monday through Friday, 8:00 AM to 5:00 PM, when I’m not committed to something else. See my Calendar for details and to make appointments electronically. You don’t need to make appointments to see me, but may if you want to be sure I’ll be available.

Web Pages:
Lecture Notes: http://www.geneseo.edu/~baldwin/math230/spring2016/lectures.php
Exercises: http://www.geneseo.edu/~baldwin/math230/spring2016/exercises.php

The purpose of computing is insight, not numbers - Richard Hamming

Hamming was a mathematician who is known for discovering some fundamental ideas about how information can be coded in computers—the computer on your lap may very well use “Hamming codes” to protect itself against memory errors. But, as shown by the quotation, Hamming realized that computing is important for more than its pragmatic applications: it can also be a source of deep insight. This course introduces you to computer programming as a way to develop insight into mathematics.

In particular, this course will teach the rudiments of programming in a language called “Matlab.” Matlab is a popular tool for programming mathematical calculations, and you will certainly learn to write such programs. But as you practice programming by using it to solve various mathematical problems, you will also learn a lot about what the mathematics inside those problems means and how it works. Both of these lessons—how to program time-consuming calculations, and how to deepen your understanding of mathematics by doing so—will stand you in good stead in future mathematics courses, and in any even remotely mathematical career you might pursue.

Corequisite(s): Math 222

Learning Outcomes: On completing this course, students who meet expectations will be able to…

Books and Other Resources

Textbook

The (required) textbook for this course is

Knoesen et al., SUNY Geneseo Math 230 Spring 2016: Programming in MATLAB

This is an online subscription electronic textbook, published by Zyante, Inc. at zybooks.com. To use this book, you will need to subscribe to it through zybooks.com. There is a roughly 1-minute video walk-through of the subscription process at https://vimeo.com/135692064, but its highlights are…

  1. Create an account at zybooks.com
  2. When asked, enter zyBook code SUNYGeneseoMath230Spring2016
  3. Provide payment information (the subscription costs $48.00)
  4. Complete your subscription using your Geneseo email address, and selecting section 2 of this course (if you have a choice).

Software

You will need to install a copy of Matlab, version r2015a, on your own laptop. You can get copies for either Macintosh or PC computers from Geneseo, at

http://software.geneseo.edu

(Scroll down through the list of software until you find Matlab)

Instructions for installing Geneseo’s Matlab on your own computer are at

https://wiki.geneseo.edu/display/cit/MatLab+R2015a+Installation+Guide

The copy of Matlab you get from Geneseo will only run on a computer connected to the Geneseo network. If you commonly work off campus, you can use a “virtual private network” (VPN) to make it look like your computer is on Geneseo’s network. The VPN is simply a piece of software you install on your computer. Windows users can download the “Cisco VPN” package from software.geneseo.edu. Macintoshes come with a VPN pre-installed; follow the instructions at https://wiki.geneseo.edu/display/cit/Setting+up+Geneseo+VPN+on+Mac+OS+X+10.6+Snow+Leopard+to+10.9+Mavericks to activate it.

Online Resources

From time to time I will refer you to online videos that complement the material in the textbook. Many of the videos are tutorials developed by others and posted on YouTube or similar sites. A few that I have developed for this course are at

https://cloud.ensemblevideo.com/app/sites/index.aspx?destinationID=IlO-D-b-vUWVkAsj2Is5Zg

Or at

https://www.youtube.com/channel/UCxwY4Vy9m_pTeGZb5uyoc9A

(The YouTube channel is currently a subset of what is available through Ensemble.)

The official web site for Mathworks, the developers of Matlab, is

http://www.mathworks.com/

Finally, materials from my section of this course last semester are at

http://www.geneseo.edu/~baldwin/math230/fall2015/syllabus.php

Course Schedule

The following dates are best estimates. They may well change as students’ actual needs become apparent. Refer to the Web version of this syllabus for the most current information, I will keep it as up-to-date as possible:

Jan. 20 - Jan. 22Introduction
Jan. 22 - Feb. 3Basic Computations and Algorithms
Feb. 3 - Feb. 12Vectors and Nyquist’s Theorem
Feb. 12 - Feb. 19Plotting and Parametric Curves
Feb. 19 - Feb. 29Matrices and Geometric Transformations
Mar. 2Hour Exam 1
Mar. 2 - Mar. 21Conditionals and Piecewise Functions
Mar. 21 - Mar. 28While Loops and Newton’s Method
Mar. 28 - Apr. 6For Loops and Numeric Integration
Apr. 8Hour Exam 2
Apr. 8 - Apr. 20Vectorization and Image Processing
Apr. 20 - May 2Cell Arrays and Relations
May 6Final Exam

Grades and Such

Your grade for this course will be calculated from your grades on exercises, exams, etc. as follows:

Final25%
Hour Exams (2)20% each
Lab Exercises (8 - 10)15%
Homework Projects (2 - 3)15%
Participation5%

In determining numeric grades for individual assignments, questions, etc., I start with the idea that meeting my expectations for a solution is worth 80% of the grade. I award the other 20% for exceeding my expectations in various ways (e.g., having an unusually elegant or insightful solution, or expressing it particularly clearly, or doing unrequested out-of-class research to develop it, etc.); I usually award 10 percentage points for almost anything that somehow exceeds expectations, and the last 10 for having a solution that is truly perfect. I deliberately make the last 10 percentage points extremely hard to get, on the grounds that in any course there will be some students who routinely earn 90% on everything, and I want even them to have something to strive for. I grade work that falls below my expectations as either meeting about half of them, three quarters, one quarter, or none, and assign numeric grades accordingly: 60% for work that meets three quarters of my expectations, 40% for work that meets half of my expectations, etc. This relatively coarse grading scheme is fairer, more consistent, and easier to implement than one that tries to make finer distinctions.

This grading scheme produces numeric grades noticeably lower than traditional grading does. I take this into account when I convert numeric grades to letter grades. The general guideline I use for letter grades is that meeting my expectations throughout a course earns a B or B+. Noticeably exceeding my expectations earns some sort of A (i.e., A- or A), meeting most but clearly not all some sort of C, trying but failing to meet most expectations some sort of D, and apparently not even trying earns an E. I set the exact numeric cut-offs for letter grades at the end of the course, when I have an overall sense of how realistic my expectations were for a class as a whole. This syllabus thus cannot tell you exactly what percentage grade will count as an A, a B, etc. However, in my past courses the B+ to A- cutoff has typically fallen somewhere in the mid to upper 80s, the C+ to B- cutoff somewhere around 60, and the D to C- cutoff in the mid-40s to mid-50s. I will be delighted to talk with you at any time during the semester about your individual grades and give you my estimate of how they will eventually translate into a letter grade.

Policy on Late and Missed Work

I will accept exercise solutions that are turned in late, but with a 10% per day compound late penalty. For example, homework turned in 1 day late gets 10% taken off its grade; homework turned in 2 days late gets 10% taken off for the first day, then 10% of what’s left gets taken off for the second day. Similarly for 3 days, 4 days, and so forth. I round grades to the nearest whole number, so it is possible for something to be so late that its grade rounds to 0.

I do not normally give make-up exams.

I may allow make-up exams or extensions on exercises if (1) the make-up or extension is necessitated by circumstances truly beyond your control, and (2) you ask for it as early as possible. At my discretion, I may require proof of the “circumstances beyond your control” before granting a make-up exam or extension.

Policy on Collaboration

Assignments in this course are learning exercises, not tests of what you know. You are therefore welcome to help each other with them, unless specifically told otherwise in the assignment handout. However, solutions that you turn in must represent your own understanding of the solution and must be written in your own words, even if you got or gave help on the assignment.

If you use sources other than this class’s textbook or notes in order to do an assignment, you must include a comment or footnote citing those sources in your solution. Similarly, if you get help from anyone other than me you must acknowledge the helper(s) somewhere in your solution. (But note that I generally think learning from outside sources and people is a good thing, not a bad one.)

Tests are tests of what you know, and working together on them is explicitly forbidden. This means that if you get help from other people or sources without understanding what they tell you, you will probably discover too late that you haven’t learned enough to do very well on the tests.

I will penalize violations of this policy. The severity of the penalty will depend on the severity of the violation.

Accommodations

SUNY Geneseo will make reasonable accommodations for persons with documented physical, emotional, or cognitive disabilities. Accommodations will be made for medical conditions related to pregnancy or parenting. Students should contact Dean Buggie-Hunt in the Office of Disability Services (tbuggieh@geneseo.edu or 585-245-5112) and their faculty to discuss needed accommodations as early as possible in the semester.