CS3331: 數值方法 (Numerical Methods)

Homework 4

Instructor: Roger Jang


Due date: Dec. 29, 1998

For the following questions, you need to submit hardcopies of your programs, together with the results returned by MATLAB.

  1. (20%) Exercise P7.2 (page 201)
    Note that:

  2. (20%) Exercise P7.5 (page 201)

  3. (20%) Exercise P7.6 (page 201)

  4. (20%) Write a MATLAB script to generate the coefficients of the Newton-Cotes formula when the polynomial order is 4.
    Note that: