Math 151A, Lecture 2, Spring 2018

Applied Numerical Methods

  • Reminder: Common Final Exam on Sunday June 10, 2018, time 8 am-11 am (Mathematical Sciences: 4000A).
  • Sections covered for the final exam: 3.1, 3.2, 3.3 (except Centered Differences); 4.1, 4.2, 4.3, 4.4, 4.7; 6.1, 6.2, 6.5 and 6.6.
  • Some old final exams without solutions are posted below.

    Lectures: MWF 2pm - 2:50pm, MS 6229

    Instructor: Luminita A. Vese
    Office: MS 7620-D
    Office hours: TBA

    E-mail: lvese (at) math (dot) ucla (dot) edu

    Discussion Section: Thursday, 2pm - 2:50pm, MS 6229

    Teaching Assistant: Jean-Michel Maldague
    Office: MS 2963
    Office hours: TBA
    E-mail: jmmaldague (at) math (dot) ucla (dot) edu


    Textbook: R.L. Burden and J.D. Faires, Numerical Analysis, Brooks/ Cole.
    Introduction to numerical methods with emphasis on algorithms, analysis of algorithms, and computer implementation issues. Solution of nonlinear equations. Numerical differentiation, integration, and interpolation. Direct methods for solving linear systems.

  • Numerical Analysis, 10e Companion Website (additional material, exercises, and computer algorithms)

    A copy of the textbook has been placed on reserve at the SEL Library.

    Requisites: courses 32B, 33B, 115A, Program in Computing 10A.

    Useful Links:
  • Course Info on Math 151A: Description, Textbook, Schedule of Lectures
  • PIC Lab: MS 2000
    http://www.pic.ucla.edu/piclab/
  • MATLAB documentation
  • More about matlab
  • Another MATLAB Documentation, thanks to Professor Chris Anderson (UCLA)
  • Numerical Recipes

    Class Web Page: http://www.math.ucla.edu/~lvese/151a.2.18s/index.html

    Homework Assignments:
    Homework assignments consist of both theoretical ("pencil-and-paper" type) and computational work (at calculator level, but we will also do some programming).
    The homework assignments will be assigned and graded every week.
    The homework assignments will be collected every week on Friday (lecture).
    No late homework will be accepted.
    Please check the Class Web Page for the current homework.
    It is part of your duty to work additional problems from the textbook, and not only those assigned in the homeworks.

    Computing:
    Enrolled students will have accounts in the computer lab in MS 2000.
    The students can use any software and any language for the computational assignments.
    Matlab is a very good choice. C++ is also a good choice.
    The algorithms from the textbook will be provided to you in Matlab and C++ (available on the Class Web Page, with the homework assignments).

    Examinations: One midterm exam and one final exam.
    Midterm: Friday, May 11 (during lecture)
    Final Exam: Sunday, June 10, 2018, time 8 am-11 am.
    The examinations are closed-book and closed-note.
    No exams at a time other than the designated ones will be allowed (exceptions for illness with document proof, or emergency).

    Grading Policy: Homework assignments: 30%. Midterm: 30%. Final: 40%.
    Your lowest homework score will not be counted towards your final homework grade.
    Late homework may be turned in, but it will only get credit if it is turned in and received before the reader has started grading the assignments.

    Sample Matlab code for fixed-point iteration, to solve Example 3, pages 57-58

  • Solutions to selected exercises
  • Old midterm exam I (without solutions)
  • Old midterm exam II (without solutions)
  • Old midterm exam III (without solutions)

    Sample final exams (without solutions)
  • Old final exam I
  • Old final exam II
  • Old final exam III
  • Old final exam IV

  • Midterm Solutions

    HOMEWORK ASSIGNMENTS
    HW # 1: Due on Friday, April 13
    HW1.pdf
    You can use a hand calculator. For the longer calculations, you can use one of the codes below or online:
    Matlab code for the bisection method
    In matlab, when the code prompts you to enter the function (for example cos(x)), you must enter: 'cos(x)'
    C++ code for the Bisection method
    Mathematica code for the Bisection method
    You can also run the codes from here
    HW # 2: Due on Friday, April 20
    HW2.pdf

    HW # 3: Due on Friday, April 27
    HW3.pdf
    Matlab code for Newton's Method
    In matlab, when the code prompts you to enter the function (for example cos(x)), you must enter: 'cos(x)'
    C++ code for Newton's Method
    You can also run the codes from here

    HW # 4: Due on Friday, May 4
    HW4.pdf
    HW # 5: Due on Friday, May 11
    HW5.pdf

    HW # 6: Due on Friday, May 18, or Monday, May 21
    HW6.pdf
    HW # 7: Due on Friday, May 25
    HW7.pdf
    HW # 8: Due on Friday, June 1
    HW8.pdf
    HW # 9: Due on Friday, June 8
    HW9.pdf