**This is an inactive course webpage**

Final Exam 11th of Dec 6-8pm

Urbauer 222: last name starts with letter A-N
Urbauer 218: last name starts with letter O-Z
Coding exam. No cheat sheet. SVN repository access. No internet.

This course provides an introduction to numerical methods for scientific computation which are relevant to engineering problems. Topics addressed include interpolation, integration, linear systems, least-squares fitting, nonlinear equations and optimization and initial value problems. Basic procedural programming concepts (procedural and data abstraction, iteration, recursion) will be covered using MATLAB.

Prerequisite: Math 132

Instructor: Marion Neumann
Office: Jolley Hall Room 403

Office Hours: Wednesday 11am-1pm

Please ask any questions related to the course materials and homework problems on Piazza. Other students might have the same questions or are able to provide a quick answer. Any postings of solutions to assignments (in form of source or pseudo code) will result in a grade of zero for that particular problem for ALL students.

Course calendar

Important Dates

  • Practice midterm exam: 14 Oct 2015 (in the studio sessions)
  • Midterm exam:  19  Oct  2015
  • Final exam:  11  Dec  2015

Lectures

  • 10/12 Midterm Review
  • 10/19 Midterm EXAM
  • 10/26 Cell Arrays & Structs, Program Development: Pseudo-Code, Flow Charts, Debugging
  • 11/02 Numerical Analysis
    • Lecture Notes: Numerics (.pdf.m)
    • Example: Curve Fitting & Interpolation (find lecture_example.m in your SVN repository)
    • Challenge: Estimating Data Points (find lecture_challenge.m in your SVN repository)
  • 11/09 Introduction to SIMULINK
  • 11/16 Sybolic Math and Final Project Introduction
  • 11/23 Image Representation, Advanced Graphics, Intro to GUI Programming
  • 11/30 Review (last lecture)
Studio assignments and sections

Future Studios

  • 12/02 Studio session counts as Lab 11 participation  (Project Presentation) –> DUE 12/02 (5:30pm)

Current Studio

  • 11/18 Studio assignment 12 (Symbolic Maths) –> DUE 11/18 (5:30pm)
    • find the studio problem here

Previous Studios

  • 11/11 Studio assignment 11 (SIMULINK) –> DUE 11/11 (5:30pm)
    • find the studio problem here
  • 11/04 Studio assignment 10 (Numerical Analysis) –> DUE 11/04 (5:30pm)
    • find the studio problem here
  • 10/28 Studio assignment 9 (More Data Types, Loop efficiency, and Flow Charts) –> DUE 10/28 (5:30pm)
    • find the studio problem here
  • 10/21 Studio assignment 8 (Input/Output) –> DUE 10/21 (5:30pm)
    • find the studio problem here
  • 10/14 Studio assignment 7 = Practice midterm exam
    • find the practice midterm here
    • find the solutions to the practice midterm here
  • 10/07 Studio assignment 6 –> DUE 10/07 (5:30pm)
  • 09/30 Studio assignment 5 –> DUE 09/30 (5:30pm)
    • find the studio problems here
    • find the related materials in your SVN repository
  • 09/23 Studio assignment 4 –> DUE 09/23 (5:30pm)
  • 09/16 Studio assignment 3 –> DUE 09/16 (5:30pm)
    • find the studio problems here
    • find the related materials (studio3.m, etc.) in your SVN repository
  • 09/09 Studio assignment 2 –> DUE 09/09 (5:30pm)
    • find the studio problems here
    • find the related materials (studio2.m, etc.) in your SVN repository
  • 09/02 Studio assignment 1 –> DUE 09/02 (5:30pm)
    • find the studio problems here
    • find the related materials (studio1.m) in your SVN repository
  • 08/26 Studio session: hw0
    • checkout your SVN repository (instructions are here)
    • you will find the file hw0.m in the folder hws/hw0/
    • complete and commit it (due 08/26 5:30pm)
Homeworks and lab sessions

Practice Final Exam

  • find it HERE Matrix Operations (Problem 6): 10 points4 points: correct setup of coefficient matrix2 points: correct setup of constraint vector1 point: assign m_C correctly1 point: assign m_D correctly1 point: correct m_C1 point: correct m_D

Previous Homeworks and Lab Sessions

  • 12/04 Make-up Lab (make-up for one missed or low score homework assignment)
    • the make-up lab will be online FRI 12/04 1pm HERE
    • For problem 3, please use problem3_simulink.mdl or problem3_simulink.slx and SVN add this file before committing!
    • it is due FRI 12/04 5:30pm
    • no lab participation required
    • submission is done via SVN commit to the hws/makeup_hw folder in your repository (edit problem1.m, problem2.m, etc. for your solutions)
    • no commit/submission after 5:30pm (no exceptions!)
    • There is absolutely no tolerance for cheating! Problems subject to cheating will be graded with zero points.
    • grading policy:
      • full points for problems that give the correct answer and solve the problem in the required way
      • zero points for anything else
      • this policy ONLY applies for the practice exam not for the final (in the final partial credit will be given to all work shown, including comments)
  • 11/27 Thanksgiving – no lab session
  • 11/16 Final Project (counts as Hw 9 and 10) –> DUE 12/02 (5:30pm)
  • 11/20 Lab Session 10 (present PART I of your project)
  • 11/09 Homework Assignment 8 –> DUE 11/16 (4pm)
  • 11/13 Lab Session 9 (present one solved problem of HW8)
  • 11/02 Homework Assignment 7 –> DUE 11/09 (4pm)
  • 11/06 Lab Session 8 (present one solved problem of HW7)
  • 10/26 Homework Assignment 6 –> DUE 11/02 (4pm)
  • 10/23 Lab Session 7 (present your solution to problem 4 of HW6)
  • 10/19 No Homework Assignment – enjoy life/recover from miderm!
  • 10/23 WILD: no lab session (NOTE: this cancellation brings down the total number of labs for this semester to 11. Mind this when planning your lab participation!)
  • 10/12 No Homework Assignment – Study for the midterm exam!
  • 10/16 FALL BREAK: no lab session
  • 10/05 Homework Assignment 5 –> DUE 10/12 (4pm)
  • 10/09 Lab Session 6 (present one solved problem of HW5)
  • 09/28 Homework Assignment 4 –> DUE 10/05 (4pm)
  • 10/02 Lab Session 5 (present one solved problem of HW4)
  • 09/25 Lab Session 4 (present one solved problem of HW3)
  • 09/21 Homework Assignment 3 –> DUE 09/28 (4pm)
  • 09/18 Lab Session 3 (present one solved problem of HW2)
  • 09/14 Homework Assignment 2 –> DUE 09/21 (4pm)
  • 09/11 Lab Session 2 (present one problem of HW1 that has 5 points assigned)
  • 09/04 Lab Session 1 (present one problem of HW1 that has 3 or 4 points assigned)
  • 08/31 Homework Assignment 1 –> DUE 09/14 (4pm)
  • 08/28 MATLAB tutorials
    • watch this 5min tutorial
    • Access MATLAB
    • go to MATLAB Help > MATLAB > Getting Started
      • Complete the tutorial (type or copy code and see what it does in the command window and workspace!)
      • These are the important topics:
        – Desktop Basics
        – Matrices and Arrays
        – Array Indexing
        – Workspace Variables
        – Help and Documentation
    • ADDITIONAL tutorial: MATLAB Onramp video (2h)
      Note: you will need to create a MathWorks account for that and connect it to a MATLAB license (from your student version or a free trail).
  • set up SVN repository (if you haven’t done so yet)
    • checkout your SVN repository (instructions are here)
    • you will find the file hw0.m in the folder hws/hw0/
    • complete and commit it (due 08/26 5:30pm)
  • no regular homework assignment in the first week
Policies and grading

Lectures
Lectures will be held every Monday and will serve to introduce the material for the upcoming week.

Quizzes and Questions (QQ)
In the lectures quizzes and/or a request to write down questions about the current materials will be handed out for completion. The answers to the quizzes and the quality of the questions will contribute 10% to your course performance, 1% for each successfully submitted QQ. Note that if more than 10 QQ will be handed out, the maximum percentage counting towards your course grade will still be 10%.

Studios
Studios are held every Wednesday in the Urbauer 222 computer labs. These studio sessions are intended to be a supplement to Monday’s lecture and give you some practice applying concepts from the course. Each studio class one studio assignment is given. You are encouraged to work with your classmates on studio assignments, and the TAs will be available to answer any questions. Studio assignments are typically due at the end of the lab section and cannot be made up. You must demo your work to a TA or the instructor to get credit. Studio assignments will contribute 10% to your course performance, 1% for each successfully presented studio assignment. Note that if there will be more than 10 studio assignments given in the course of the semester, the maximum percentage counting towards your course grade will still be 10%.

Labs
Every Friday there will be open lab time for you to come and work on that week’s homework assignment. The TAs will be present to answer any questions you may have. At the end of each lab session you have to present one completed problem of the current homework assignment. Successfully presented problems will contribute 10% to your course performance, 1% for each successfully presented problem. Note that if there will be more than 10 homework assignments given in the course of the semester, the maximum percentage counting towards your course grade will still be 10%.

Homework assignments (HW)
There will usually be one homework assignment per week, assigned during Monday’s lecture session. The assignments will be due the following Monday before the lecture (4pm sharp). Each homework assignment will be graded and the total grade achieved for all homeworks will contribute 40% towards your total course performance. Each homework assignment will be weighted equally (no drops).

Midterm and Final
There will be one written midterm exam and one written final exam contributing 15% each towards your total course performance.

Grading Summary:

40%  homework assignments (HW)

15%  midterm

15%  final

10%  QQ (10 passed QQ with sensible quiz answers/questions)

10%  studio (10 successful studio assignment presentations)

10%  labs (10 successful presentations of ONE question of current HW)

Final course grades will be assigned using a straight scale:

Letter GradeCutoff Percentage
A93%
A-90%
B+87%
B83%
B-80%
C+77%
C73%
C-70%
D+67%
D63%
D-60%
F< 60%

Late Policy
Your homework assignments must be turned in on time. No late assignments will be accepted except under extraordinary circumstances. I will grant the occasional extension, but you must at least two days before the deadline to make your extension request. There are absolutely no makeup quizzes or assignments for any reason.

Collaboration Policy
You are encouraged to discuss the course material with other students. Discussing the material, and the general form of solutions to the labs is a key part of the class. Since, for many of the assignments, there is no single “right” answer, talking to other students and to the TAs is a good thing. However, everything that you turn in should be your own work, unless we tell you otherwise. If you talk about assignments with another student, then you need to explicitly tell us on the hand-in. You are not allowed to copy answers or parts of answers from anyone else, or from material you find on the Internet. This will be considered as willful cheating, and will be dealt with according to the official collaboration policy:

Academic Dishonesty
Unless explicitly instructed otherwise, everything that you turn in for this course must be your own work. If you willfully misrepresent someone else’s work as your own, you are guilty of cheating. Cheating, in any form, will not be tolerated in this class.

There is zero tolerance of Academic Dishonesty. I will be actively searching for academic dishonesty on all homework assignments, quizzes, and exams. If you are guilty of cheating on any assignment or exam, you will receive and F in the course and be referred to the School of Engineering Discipline Committee. In severe cases, this can lead to expulsion from the University, as well as possible deportation for international students. If you copy from anyone in the class both parties will be penalized, regardless of which direction the information flowed. This is your only warning.

Please refer to the University Undergraduate Academic Integrity Policy, for more information. If you suspect that you may be entering an ambiguous situation, it is your responsibility to clarify it before the professor or TAs detect it. If in doubt, please ask.

Resources and How-Tos

MATLAB: Student Edition
It is not required for you to purchase the MATLAB software (it is available in the computer labs), but if you wish to you may acquire the student edition of MATLAB here.

Book
There is no textbook needed to successfully participate in this course. However, if you want to buy one I recommend “MATLAB for Engineers” by Holly Moore. Also note that almost anything related to MATLAB is nicely described in the MATLAB help!

Accessing MATLAB via Remote Desktop
To access MATLAB remotely from your computer you must use Remote Desktop. For Windows, open the Start Menu and type “Remote Desktop” into the text box. The application should appear in the list. For Mac users, you will need to download this application.

Once you have started the remote desktop application, type oasis.cec.wustl.edu as the address you would like to connect to. After the connection has been made, you will need to login with your WUSTL KEY. Enter your username with “ACCOUNTS\” in front of it, like this:

ACCOUNTS\wustlkey

Once you have logged in, MATLAB can then be accessed from the Start Menu as in the CEC labs.

If you are attempting to use Remote Desktop from off campus, you may be required to use the VPN.

Accessing MATLAB via Linux Lab
You can also use the Linux Lab to run Matlab, by going to https://linuxlab.seas.wustl.edu and selecting Submit Job, and then starting a “Matlab” session.

SVN
We will be using SVN to distribute and collect assignments. Please see this tutorial about accessing your repository and how to submit your work.

If you wish to access your files from your own computer, you will need to install Tortoise (Windows) or SmartSVN (Windows, Mac, Linux).

SVN via terminal (Mac, Linux)
If you want to use SVN via your terminal you may want to consider this SVN cheat-sheet.

Final project

Use THIS form for final demo/ lab 11 participation!

Introduction

Homework assignments 9 and 10 will be a final project about one topic you are interested in. You can choose a problems from the following areas: Biomedical Engineering, Chemical Engineering, Mechanical Engineering, and Systems Engineering. The project descriptions can be found below. If you do not like these topics you and your group can come up with your own project. These projects need to have the same scope as the suggested projects and they need to be approved by the instructor by Friday 20/11/2015.

 Guidelines

  • You can work on this project in groups of 2 or 3 students (not 1 and not 4!).
  • Only one implementation needs to be submitted! Decide on whose SVN repository the submission will be and report this in the demonstration of PART I and indicate it in your partOne.m file.

Topics

  • Biomedical Engineering: model the dynamics of a systemic artery within the human cardiovascular system (contact TA: Morgan Munro)
  • Systems Science and Engineering: model the suspension system of a car going over a speed bump (contact TA: Makai Mann)
  • Mechanical Engineering: model projectile kinematics to track an object over time (contact TA: Brittney Buckingham)
  • Chemical Engineering: analyze a distillation column separating a binary system (contact TA: Brittney Buckingham)
  • Machine Learning: build a k-nearest neighbor classifier for handwritten digit classification and face recognition (contact: Marion Neumann)
  • Your own project: come up with your own project and get it approved by the instructor. Send an email with your project proposal and plan to m.neumann@wustl.edu by Friday, 11/20/2015 10:00am and get it approved in the lab session. If you need ideas come to my office hours!
    • The project proposal and plan should be a 1 page description including the following
      • state focus and goal
      • describe (mathematical, engineering) background (including all formulas necessary to understand the problem)
      • list required implementation steps
      • describe data being used

Timeline

  • PART I: Friday, 11/20/2015 lab session: kick-off presentation to the instructor or a TA (due 5:30pm)
  • PART II: Wednesday, 12/02/2015 (5:30pm): project submission of your implementation (via the SVN repository)
  • PART III: Wednesday, 12/02/2015 studio session: demonstration of your project to the instructor or a TA (due 5:30pm).

Grading

  • PART I in-lab presentation counts as Lab 10 participation
  • PART II code submission counts as Hw 9 and Hw 10
  • PART III in-studio presentation counts as Lab 11 participation (not as studio participation!) Use THIS form!!