IAM (Integrated Applied Math) 550 -- Introduction to Engineering Computing

This web page: http://squirrel.sr.unh.edu/~jraeder/IAM550/index.html

Instructor:

Prof. Joachim (Jimmy) Raeder
Space Science Center
University of New Hampshire
8 College Road
Durham, NH 03824-3525
Office: 245G Morse Hall
Phone: 603-862-3412
Fax: 603-862-3584
E-Mail: J.Raeder@unh.edu

Syllabus:

All important general information about the class can be found in the syllabus. The syllabus is still subject to minor changes until classes start. Download it here: syllabus-2019-IAM550.pdf

mycourses and this web site

The mycourses setup, over which I have little control, makes it very difficult to post materials for the entire class. mycourses treats every one of the four lab section as an individual class, which would force me to post everything 4 times. Thus, we will use mycourses only for posting grades and announcements specific to a lab section. Everything else will be posted here.

TAs

  • Sarah Blagdon sjb11@wildcats.unh.edu
  • Sowmya Daroju sd1227@wildcats.unh.edu
  • Adhityia Sivakumar (Adhi) as1751@wildcats.unh.edu

Graders

  • Sohani Demian sad1023@wildcats.unh.edu
  • Davis Cole dc1147@wildcats.unh.edu

Office hours

  • Tuesdays 9-10am in W114
  • Thursdays 9-10am in W114

Schedule and class materials


T 08/27/2019 class01 Introduction

R 08/29/2019 class02 MATLAB Intro

pre-class assignment (not mandatory): take a tour through this tutorial

  • Labs, homework, grade sheet lab-report-guide.pdf
  • Lab report format and requirements
  • computer languages
  • how many?
  • Languages
  • compiled versus interpreted language (procedural vs object oriented, OO)
  • compiled: machine code - assembler - FORTRAN - COBOL - C - C++ - Chash
  • interpreted: BASIC/VB - Perl - Python - C-shell - JAVA - Javascript - MATLAB
  • other notables: ADA, PHP, Lisp, Pascal, IDL, SQL, Postscript
  • ISO/ANSII: Fortran, C, C++, Lisp
  • where does MATLAB fit in? interpreted and many extensions
  • MATLAB intro
  • MATLAB cheat sheet
  • tutorial - variables

TR 09/03,05/2019 Lab01 Basic MATLAB, combustion engine

T 09/03/2019 class03

R 09/05/2019 class04

TR 09/10,12/2019 Lab02 combustion engine, plotting

R 09/12/2019 class06 I'm on travel, Dr. Cramer will lecture

TR 09/17,19/2019 Lab03 Continue and finish the previous lab assignment.

T 09/17/2019 class07

R 09/19/2019 class08

comments on class 08:

  • Forgot the better ascii table --> next time
  • The discussion of the strings/formatting was OK, but the discussion of the second script that reads files was rushed and definitely not enough to teach the material. I understand that students are frustrated, but one has to start somewhere. Programming is ultimately learned by doing and practise, and, quite frankly, by making mistakes and correcting them. Therefore, going forward, the next lab session is entirely devoted to understanfing this script.
  • Furtermore, I have so far not addressed how to efficiently writing code. That was fine for the first baby steps, but as code gets longer and more complex one needs to employ a more systematic approach. Without that, one sees a lot of red (MATLAB error messages) which can be frustrating. I did not realize how badly some students felt about this (kudos to those who came forward and told me). One tends to see it as a persomal failure, but it isn't. It's a learning experience, and, believe me, I see a lot of red also. In the next lecture I'll address that and explain how to code efficiently and to minimize the red messages.
  • I deliberately have chosen to bring files and I/O (input/output) very early. Most books (I have looked at at least half a dozen) and lectures do this further down the road. By mastering I/O, one can much better address real-life problems, which is what you need to do in the real world. Without being able to read data into a MATLAB code one is more or less restricted to made-up problems, which IMHO is boring.

TR 09/24,26/2019 Lab04 Reading/writing data files

T 09/24/2019 class09

Some announcements:

  • lab reports will be returned Friday for the Tuesday labs, Monday for the Thursday labs (a matter of fairness)
  • lab 1 reports looked generally fine. Most deductions are for missing items.
  • grading the lab 2/3 reports we will take into account that you haven't seen lab 1 reports yet.
  • homework01.pdf
  • homework01_b.m Homework 01 reference solution

  • rehash editor
  • rehash how to write code and debug
  • rehash more demonstarions on coding, loops, if/else/end

R 09/26/2019 class10

TR 10/01,03/2019 Lab05 root finding

T 10/01/2019 class11 Functions

R 10/03/2019 class12 more on functions

TR 10/08,10/2019 Lab06 Newton-Raphson, m-files, functions, handles

T 10/08/2019 class13

R 10/10/2019 class14 Integration

M 10/14/2019 Homework 02, due Friday October 25, 2019

TR 10/15,17/2019 NO LABS THIS WEEK BECAUSE OF MONDAY SCHEDULE/MIDTERM

T 10/15/2019 no class, Monday schedule

R 10/17/2019 MIDTERM EXAM

No books. No cheat sheets. No cell phones. No computers. Only pen and paper. You should not need extra paper (but there is some, in case). Make sure your answers can be understood. Write your name on every page as indicated.

TR 10/22/24/2019 Lab07 Integration

T 10/22/2019 class15

R 10/24/2019 class16

F 10/25/2019 Self Test 01

TR 10/29,31/2019 Loops, line fit

T 10/29/2019 class17

R 10/31/2019 class18

F 11/01/2019 Self Test 02

M 10/14/2019 Homework 03, due Monday, November 18, 2019

TR 11/05,07/2019 No labs this week

T 11/05/2019 class19

R 11/07/2019 class20

TR 11/12,14/2019 More integration, functions

T 11/12/2019 class21

R 11/14/2019 class22

F 11/15/2019 Self Test 03

TR 11/19,21/2019 Initial value problem

T 11/19/2019 class23

R 11/21/2019 class24

lec24-gauss2.m is the script I cobbled together in class. It did not work right there, but I found the error (simple typo) and it now produces correct results.

TR 11/26,28/2019 Turkey

T 11/26/2019 Thanksgiving

R 11/28/2019 Thanksgiving

TR 12/03,05/2019

T 12/03/2019 snowday

R 12/05/2019 class26

  • off

F 12/13/2019 6pm - 8pm FINAL EXAM A in McConnell 240

T 12/17/2019 10:30am - 12:30pm FINAL EXAM B in Parsons N108

Final grade statistics

    A   A-   B+    B   B-   C+    C   C-   D+    D   D-    F
   30    5    8   13    6   15    3    6    5    3    6    5
 

'A' grades: 35 'B' grades: 29 'C' grades: 24 'D' grades: 14 'F' grades: 5

grade average: 2.71 of 105 (a bit better than B-)

median: between B+ and B

25 out of 105 below C (24%) 80 out of 105 C or above (76%)

UNH grade scale: (https://www.unh.edu/uac/faculty/general-advising-information)

A (4.00) excellent A- (3.67) intermediate grade B+ (3.33) intermediate grade B (3.00) superior B- (2.67) intermediate grade C+ (2.33) intermediate grade C (2.00) satisfactory, competent C- (1.67) intermediate grade D+ (1.33) intermediate grade D (1.00) marginal grade D- (0.67) intermediate grade (passing grade) F (0.00) failure: academic performance so deficient in quality as to be unacceptable for credit