Docsity

Numerical Computing Homework 7 - MATH/CSCI 4800-01, Spring 2009 - Prof. Ashwani K. Kapila, Assignments of Computer Science

Toggle sidebar
bg1
Numerical Computing S’09 MATH/CSCI 4800-01
Homework-7
Due Tuesday April 28, 2009 by 5 PM
Illegible reports will be returned without grading. Show all work. All Matlab scripts, Matlab output and
plots should be printed out and stapled to the report.
1. (Pencil-and-paper) Text: 6.1 Exercises, page 294, problems 4(c) and 6(c).
2. (Matlab) Text: 6.1 Computer Problems, page 295, problem 5(c).
3. (Pencil-and-paper) Text: 6.2 Exercises, page 306, problem 2(c). Repeat the problem by applying the
second-order Taylor method.
4. (Pencil-and-paper and Matlab) Define and explain the terms Local Truncation Error and Global Trun-
cation Error in the context of numerical solution of initial-value problems for ODEs. How are the
two terms related? Plot the global truncation error of the second-order Taylor Method at t= 1 as a
function of h= 0.1×2−kfor k= 0,1,2,3,4,5 for the initial-value problem
y0= 5t4y, y(0) = 1.
The exact solution of the IVP can be found by using the method of separation of variables.
5. (Pencil-and-paper) Text: 6.3 Exercises, page 318, problem 2(d).
6. (Extra Credit, Pencil-and-paper and Matlab) Text: 6.3 Computer Problems, page 319, problem 6.

Partial preview of the text

Download Numerical Computing Homework 7 - MATH/CSCI 4800-01, Spring 2009 - Prof. Ashwani K. Kapila and more Assignments Computer Science in PDF only on Docsity!

Numerical Computing S’09 MATH/CSCI 4800- Homework-

Due Tuesday April 28, 2009 by 5 PM

Illegible reports will be returned without grading. Show all work. All Matlab scripts, Matlab output and plots should be printed out and stapled to the report.

  1. (Pencil-and-paper) Text: 6.1 Exercises, page 294, problems 4(c) and 6(c).
  2. (Matlab) Text: 6.1 Computer Problems, page 295, problem 5(c).
  3. (Pencil-and-paper) Text: 6.2 Exercises, page 306, problem 2(c). Repeat the problem by applying the second-order Taylor method.
  4. (Pencil-and-paper and Matlab) Define and explain the terms Local Truncation Error and Global Trun- cation Error in the context of numerical solution of initial-value problems for ODEs. How are the two terms related? Plot the global truncation error of the second-order Taylor Method at t = 1 as a function of h = 0. 1 × 2 −k^ for k = 0, 1 , 2 , 3 , 4 , 5 for the initial-value problem

y′^ = 5t^4 y, y(0) = 1.

The exact solution of the IVP can be found by using the method of separation of variables.

  1. (Pencil-and-paper) Text: 6.3 Exercises, page 318, problem 2(d).
  2. (Extra Credit, Pencil-and-paper and Matlab) Text: 6.3 Computer Problems, page 319, problem 6.