COMP-208B-session 3683: Computers in Engineering

Winter 2007, Section 3683


  • NEWS -- NEWS
  • Names and Numbers
  • Overview
  • Lecture Slides


  • News: 

    A note on academic integrity

    McGill University values academic integrity. Therefore all students must understand the meaning and consequences of cheating, plagiarism and other academic offences under the Code of Student Conduct and Disciplinary Procedures (see http://www.mcgill.ca/integrity for more information).

    Please read also the student guide to avoid plagiarism.


    Names and Numbers:


    Overview:

    Due to the prevalence of computers in almost every branch of engineering, it is a must for an engineer to have certain levels of computer knowledge. This course will provide you the essential knowledges to be mastered by a qualified engineer. It is divided into three parts, i.e., programming in Fortran language, programming in C language, and algorithms. A student is not expected to be a professional programmer after taking this course. Rather, he/she should be aware of how computer programs are written, what limitations they may have, and how to solve an engineering problem with numerial algorithms and programming. Here is the detail description

    Prerequisites: Integral and differential calculus, linear algebra (vectors)

    Marking Scheme:

    Literature:

    Fortran, C and Algorithms, Using Fortran 90/95 and C/C++, Gerald Ratzer and Joseph Vybihal, Third Edition, Kendall/Hunt Publishing company.

    All (or most of) these books should be on-reserve in the library For this course. Unfortunately, a lof of books get stolen so it might be that some are missing :(

    Lecture Slides:

    You will be able to download lecture slides (hopefully one day) before class.
    Nr. Date Subject Examples Slides
    1 4-Jan Introduction to computing
    Course detailed description
    -- Lecture 1
    2 9-Jan Basic computers and programming concepts
    Download editer SciTE, Compiler for windows and Compiler for MacOS here

    Lecture 2
    3 11-Jan Introduction to Fortran
    examples
    Lecture 3
    4 16-Jan Selection
    rootfinding, absolute value
    Lecture 4
    5 18-Jan SELECT CASE, DO-loop, Character processing
    examples
    Lecture 5
    6 23-Jan One dimensional array
    examples
    Lecture 6
    7 25-Jan Two dimensional array examples
    Lecture 7
    8 30-Jan Function
    examples
    Lecture 8
    9 1-Feb Function and subroutine
    examples
    Lecture 9
    10 6-Feb Array arguments and examples
    examples
    Lecture 10
    11 8-Feb Formatting
    examples
    Lecture 11
    12 13-Feb Midterm review

    Lecture 12
    13 27-Feb Transit from Fortran to C(I)
    Examples in the slides
    Lecture 13
    14 01-Mar Transit from Fortran to C(II)
    Examples Lecture 14
    15 06-Mar Searching
    Examples
    Lecture 15
    16 08-Mar Sorting
    Examples
    Lecture 16
    17 13-Mar sorting (II)
    Examples
    Lecture 17
    18 15-Mar Recursion
    Examples
    Lecture 18
    19 20-Mar Merge sort
    Examples
    Lecture 19
    20
    22-Mar
    Root finding
    an interesting link here
    Examples
    Lecture 20
    21
    22-Mar
    Integration Examples Lecture 21
    22
    3-Apr
    ODE: Initial value problems
    Examples
    Lecture 22
    23
    05-Apr
    Linear Algebra Examples Lecture 23
    24
    09-Apr
    Final Review (I)
    Lecture 24

    Yi Lin, last updated: Jan 02, 2007