Welcome to MATH4Q03/6Q03

Winter 2011
Time & Place: Monday, Thursday, 9.30-10.20, Tuesday, 10.30-11.20 in DSB/AB 102
Computer Lab: Friday, 10.30-11.20, in BSB/241

Instructor: Ramesh Yapalparvi
Office: HH/403A, Ext. 27364
email: ramesh@math.mcmaster.ca
Office hours: Monday & Tuesday 1.30-2.30 pm

Teaching Assistant: Jonathan Gustafsson
Office: HH 403, Ext.24411
email: gustafjc@math.mcmaster.ca
Office hours: Monday 3.30-4.30 pm & Friday 11.30 am-12.30 pm

Announcements :

  • The webpage is up and running

  • Welcome to Math 4Q03/6Q03

  • I have created a Math 4Q03 blog where I shall be writing about what I did in the lectures.

  • The first assignment has been posted. Please see the table with Home work posts and due dates.

  • The solutions and marks for the HW1 has been posted. Please make sure you follow the guidelines given below. Those who have not followed them will be penalized next time.

  • Information regarding Midterm is given here

  • The marks for the midterm are here.

  • Information regarding Final exam is given here

    Outline of the Course:

    This course focuses on numerical methods and algorithms for solutions of ordinary and partial differential equations. Lectures will cover problems of polynomial interpolation and approximation, numerical differentiation and integration, ODE solvers, finite-difference and finite-element solutions for PDEs, and spectral methods with Matlab.

    Course Outline


    Calculus, Ordinary and Partial Differential Equations, Numerical Algebra, Basic programming skills in MATLAB.

    Math 4Q03 Blog:

    Math 4Q03 blog

    Lecture Notes:

    Lecture notes on Scientific computing with MATLAB

    Matlab Tutorials:

  • Tutorial at the University of Florida
  • Tutorial at the University of Michigan
  • Tutorial at MichiganTech
  • Tutorial at the University of New Hampshire


    An important element of the course are the tutorials during which the Teaching Assistant will introduce MATLAB programming techniques necessary for the solution of homework assignments. MATLAB files containing the material of the tutorials will be posted in advance on the course website, and should be downloaded and reviewed before attending the tutorial. Students are strongly encouraged to bring their own laptops, so that they can actively follow the presentation.

    Primary Reference:

         1) C. F. Gerald and P. O. Wheatley, Applied Numerical Analysis , Pearson, (2004).

    Secondary Reference:

         1) M. Grasselli and D. Pelinovsky, Numerical Mathematics, Jones and Bartlett, (2008)
             [ISBN-13: 9780763737672, ISBN-10: 0763737674].

    Additional Reference:

         1) S. S. Rao, Applied Numerical Methods for Engineers and Scientists , Prentice Hall Publishers, (2001).


    All homework assignments will have to be completed using MATLAB. This software will also be used for presentations during tutorials. While MATLAB can be used in a number of computer labs on the campus, students are encouraged to purchase The Student Edition of MATLAB to be able to work with MATLAB at home.

    Review Questions:

  • Review Questions


    Five homework assignments will be posted on the course website on the dates indicated in the table below. The assignments will be due by midnight on the dates indicated in the table and should be sent to the following email address math4q03@math.mcmaster.ca . Solutions to the assignments must be prepared using the current template file ; note that you must use the current version of the template file (i.e., not the one you may have downloaded for an earlier assignment) available from the course webpage; submissions non compliant with this template will not be accepted. Note that the character 0 in the Email addresses is the digit "zero", not a letter. Submissions sent to an incorrect Email address will not be graded.

  • You must submit your assignment as an attachment; the file containing your assignment must be named Name_0XXXXXX_hwN.m, where:
    - Name is your last name,
    - XXXXXX is your student number,
    - N is the consecutive number of the assignment;
    assignments submitted in plain text will not be considered.

  • Make sure to enter your name and student I.D. number in the appropriate section of the template file.

  • The subject line of the Email should have Name_hwN

  • All graphs generated by your assignment should contain suitable titles and legends.

  • Do not copy your e-mail to regular e-mail accounts of the instructor or the TA. It is the responsibility of a student to follow all the instructions mentioned above and send correct versions of M-files before the deadline. Late submissions and files not agreeing with the instructions will not be accepted under any circumstances. The solutions will be posted on the course website after the due date.

    Computer Programs:
    Chapter Labs Other Codes
    1 2Bisection method, Secant method  
    2 8  
    5 5, 7, 9, 15, 12, 13 Vandermonde, Vandermonde-illconditionned, Lagrange
    6 2, 4, 11, 19  
    9 1, 4, 8, 16, 18  
    10 1, 3, 6, 11  
    11 4, 10, Shooting Method , Finite-Difference Method , Elliptic , Tridiagonal solver , Heat01  

    Homework Post & Due Dates:


    Post Date

    Due Date



    Friday, January 14

    HW1 Sol 1

    Friday, January 21

    HW1 Marks


    Friday, January 28

    HW2 Sol 2

    Friday, February 4

    HW2 Marks


    Friday, February 11

    HW3 Sol 3

    Friday, February 18

    HW3 Marks


    Friday, March 4

    HW4 Sol 4

    Friday, March 11

    HW4 Marks


    Friday, March 18

    HW5 Sol 5

    Friday, March 25

    HW5 Marks


    There will be one test scheduled tentatively on February 17 starting around 6pm. Only the McMaster standard calculator Casio fx-991 will be allowed during the tests.

    Final Exam:

    The course will be completed by a three-hour final examination. The date and location of the final exam will be announced by the Registrar's office in mid-term.

    Excused Absences:

  • For absences from classes lasting up to 5 days: Using the McMaster student absence form (MSAF) on-line, self-reporting tool, undergraduate students may report absences lasting up to 5 days and may also request relief for missed academic work. The submission of medical or other types of supporting documentation is normally not required. Students may use this tool to submit a maximum of two requests for relief of missed academic work per term. Students must immediately follow up with their course instructors regarding the nature of the relief. Failure to do so may negate the opportunity for relief. It is the prerogative of the instructor of the course to determine the appropriate relief for missed term work in his/her course.
  • For absences from classes lasting more than five days: Students who are absent more than five days cannot use the on-line, self-reporting tool to request relief. They MUST report to their Faculty Office to discuss their situation and may be required to provide appropriate supporting documentation. If warranted, students will be approved to use a discretionary version of the MSAF on-line, self-reporting tool.
  • Unexcused absence from an assignment or test will result in a mark of zero. In the event of an excused absence, the portion of the missed work contributing to the final mark in the course will be added to that of the final examination. Please note that once a test or a final examination is written, the final grade cannot be adjusted to take into account any special situation.

    Academic Integrity:

    You are expected to exhibit honesty and use ethical behaviour in all aspects of the learning process. Academic credentials you earn are rooted in principles of honesty and academic integrity.

    Academic dishonesty is to knowingly act or fail to act in a way that results or could result in unearned academic credit or advantage. This behaviour can result in serious consequences, e.g., the grade of zero on an assignment, loss of credit with a notation on the transcript (notation reads: "Grade of F assigned for academic dishonesty"), and/or suspension or expulsion from the university.

    It is your responsibility to understand what constitutes academic dishonesty. For information on the various types of academic dishonesty please refer to the Academic Integrity Policy,. The following illustrates only three forms of academic dishonesty:
         1) Plagiarism, e.g., the submission of work that is not one's own or for which other credit has been obtained.
         2) Improper collaboration in group work.
         3) Copying or using unauthorized aids in tests and examinations.

    Important Notice:

    The instructor and university reserve the right to modify elements of the course during the term. The university may change the dates and deadlines for any or all courses in extreme circumstances. If either type of modification becomes necessary, reasonable notice and communication with the students will be given with explanation and the opportunity to comment on changes. It is the responsibility of the student to check their McMaster email and course websites weekly during the term and to note any changes.